1. carlos efrain
  2. PowerBuilder
  3. Tuesday, 16 November 2021 18:22 PM UTC

buenas tardes a todos.

 

estoy trabajando Power builder 2019 con MySQL

 

tengo el siguiente numero 20000

 

como hago para que al guardarlo en Excel me lo genere de la siguiente manera

20000.00

 

probé con la función format

 

Format(campo,2) y me lo genera 20,000.00

 

Muchas 

 

Gracias

 

Att

Carlos

Guillem Muñoz Accepted Answer Pending Moderation
  1. Wednesday, 17 November 2021 10:48 AM UTC
  2. PowerBuilder
  3. # 1

Hi Carlos,

 

Maybe the round() function might help you.

Here you have an explanation on how it works.

https://docs.appeon.com/pb2019/powerscript_reference/ch10s546.html

 

Best regards.

Guillem

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.