What Data Type we have to put for milliliter In outsystems

HI All.


What Type Data Type Have to put for milliliter.. if we wanna Show 1500ML it will have to show As 1.5 ML  If You Guys Have Any Ideas Kindly Share With Me


Thanks

vinith

mvp_badge
MVP
Solution

Hello Vinith,

Hope you're doing well.


If you want to present the value 1500 as "1.5 ML", you can use the FormatDecimal built-in function and ajust it as the way you like:


For the example above, something like this should do the trick:

FormatDecimal(YourVariable / 1000, 1, ".", "") + " ML"


Hope that this helps you!


Kind regards,

Rui Barradas

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.