Questions tagged [number]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7
votes
1answer
1k views

How to make numeric inputs Lightning Components respect corret L10N decimal delimiter?

Assume there is a Field aaaNumber__c on Account defined as Number(12,2) Now I use it like this <aura:component controller="elfL1" implements="forceCommunity:availableForAllPageTypes,force:...
3
votes
3answers
2k views

Apex - format number with more than 3 digits after decimal point

According to SF documentation Decimal.format() method "Returns the String value of this Decimal using the locale of the context user.", but it leaves only 3 digits after decimal point. It doesn't even ...
4
votes
1answer
3k views

outputText number formating with space a thousand separator

How do I format a number in an outputText element so that it uses spaces as a separator between thousands? What I currently have is an outputText element which formats number using comma as a ...
2
votes
1answer
2k views

Format decimal number with thousand separator with a dot (.)

I would like to format a visualforce variable '{!TotalE}' with a thousand separator as . notation for example 123386258.00 becomes 123.386.258 I have tried examples of outputtext 'value="{0, ...
2
votes
1answer
2k views

Number Type, Decimal Points Confusion

We have a number typed field say Min_Distance__c where we have defined, Length=1 and Decimal places=2. But we experienced that salesforce allows to save numbers with more than 2 decimal places. In ...
0
votes
1answer
312 views

Number to word logic

My code to convert number to words is as below. Here i am getting output properly but if i have number 5,07,920 it is showing result five hundered and seven thousand nine hundred and twenty. i want ...