Error formatting currency column in data list
Confluence User - 08 Sep, 2022
Hi guys
i'm trying to format currency column in data list with bean shell script with the following code:
String texto = String.format("%,.2f", value);
the joget platform returns the error message below:
``String texto = String.format("%,.2f", value); return "<span style=\"color:green . . . '' : Typed variable declaration : Error in method invocation: Static method format( java.lang.String, java.lang.String ) not found in class'java.lang.String'
obs: this code is running ok on eclipse IDE.
thanks,
Paulo Nascimento
datalists