Hello all
Please help me understand what flt() does. Any link to documentation?
Thanks so much
Hello all
Please help me understand what flt() does. Any link to documentation?
Thanks so much
Hi,
I may help to say where you have encountered it. The context or code in which it is found may lead someone to be able to help.
Oh sure…
In client-side JS custom code. I suspect it converts field-types such as Currency and Percent to floats but would appreciate confirmation.
console.log(flt) returns function flt$1(e, t, n), but I’m not enough of a developer to investigate any further What are the e t and n?
Usage:
flt(19084.128940,2)
19084.13
flt(19084.1289467,8)
19084.1289467
So it’s formatting the value given to a number format and decimal at the client side.
Thanks so much @kennethsequeira
In general, how do I find the definition of a function on github? Let’s say I’m looking for flt?