Add optional parameter to the FormatDecimal function to make decimals optional
122
Views
2
Comments
New
Builtin & User functions

Currently, the number of decimals you specify in the FormtDecimal function will show whether there are decimals or not. So 1.3 would become 1.3000 if you specified 4 zeros. This is not always wanted and would be nice to have an optional input to say whether you want to keep or remove trailing zeros.

So basically you'd want a maximum number of decimals? Because of course without using any FormatDecimal you get what you want (except for the limit).

That is correct Kilian.