Introduction As a self-confessed JavaScript phobe, my heart sank every time I dealt with numbers in JavaScript. That all changed with the introduction of the apex.locale namespace (JavaScript functions). Specifically, apex.locale.formatNumber and ape...

Markdown supported · ⌘↵ to post
Karel Ekema
Enterprise Application Developer
Nice illustration of these methods. I found also the getNativeValue() method of use, from the numberFieldItem interface. eg apex.item( "P10_NUMBER_FIELD" ).getNativeValue(); This method automatically takes into account any format mask as configured on the item field.