General information
Category:
Coding, syntax & commands
Let´s consider that cont_pic is a public variable that contains the picture for numeric values i.e: "999,999,999,999.99"
FUNCTION pc
param numero
local a,b,c,d
d="iif(numero<0,' ','')+strtran(transform(numero,'@( "+cont_pic+"'),' ','')"
a=&d
b=len(alltrim(cont_pic))
c=len(alltrim(a))
a=repl(" ",b-c)+a
return a
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only