Hi All,

I want to limit the number of decimal points in a float value, I don't want
to round off the value rather format it. Is there a specific method like
JavaScript toFixed() in Ballerina 0.990.2. for this?

[1]
https://stackoverflow.com/questions/55644825/ballerina-function-to-limit-the-decimal-points-in-a-float


*Regards,*


*Ishara Ilangasinghe*

*Associate Software Engineer | WSO2*

*Email: [email protected] <[email protected]>*
*Mobile: +94719718288*


[image: http://wso2.com/signature] <http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to