I'm trying to format a number from a variable divisions, and i can't.
I'm trying now with a independent script only for test how to format the number but it doesn't works too:
Code: Select all
let>original=1/5
let>lookfor=,
let>reemplacement=.
StringReplace>%original%,%lookfor%,%reemplacement%,result
VBEval>FormatNumber(%result%,2),finalresult
message>finalresult
I'm using StringReplace, because my computer(spanish windows) remplaces the "." of decimals with "," by default.
And uses the "." for separating thousands values like 1.000 .
Anyway i tried the formatnumber with no stringremplace, and don't work.
Code: Select all
let>original=1/5
VBEval>FormatNumber(%original%,2),finalresult
message>finalresult
Do you know what's the problem?
Thanks.
PD: Sorry my bad english.