Page 1 of 1

Number formatting

Posted: Thu May 23, 2013 11:23 am
by prajan
Hi,
Can you please tell me how we can programatically set the number format to either en-US or en-gb for a text in a report ?

Thanks

Re: Number formatting

Posted: Fri May 24, 2013 1:34 pm
by HighAley
Hello.
prajan wrote:Can you please tell me how we can programatically set the number format to either en-US or en-gb for a text in a report ?
You should set the Text Format property of the Text component.

Thank you.

Re: Number formatting

Posted: Mon May 27, 2013 5:26 am
by prajan
Hi,
I used the StiNumberFormatService to set the format of the text.
I am able to display in the American format (123,456,789.00) by setting the group size to 3, but I am not able to display in the British format (12,34,56,789.00), 'cause if I set the group size to 2, it displays as (12,34,56,78.00).
Can you please tell me how to display in the British format?

Thanks

Re: Number formatting

Posted: Mon May 27, 2013 10:19 am
by HighAley
Hello.
prajan wrote:I used the StiNumberFormatService to set the format of the text.
I am able to display in the American format (123,456,789.00) by setting the group size to 3, but I am not able to display in the British format (12,34,56,789.00), 'cause if I set the group size to 2, it displays as (12,34,56,78.00).
Can you please tell me how to display in the British format?
We know nothing about this British format. Could you send us any additional information about this format. Could you send us any link on wikipedia.org or somewhere else.

Thank you.

Re: Number formatting

Posted: Mon May 27, 2013 10:37 am
by prajan
Please see the 'Use of Separators' in the given link.
http://en.wikipedia.org/wiki/Indian_numbering_system

I want to be able to display numbers in the Indian System as well as the Arabic system.
Thanks

Re: Number formatting

Posted: Mon May 27, 2013 12:07 pm
by Alex K.
Hello,

Unfortunately, in current moment, this feature is not supported in our products.

Thank you.

Re: Number formatting

Posted: Mon May 27, 2013 12:23 pm
by prajan
Hi,
Is there no other way of doing it? Any time frame as to when this feature will be added?

Thanks

Re: Number formatting

Posted: Tue May 28, 2013 8:19 am
by Alex K.
Hello,

Unfortunately, we do not have plans to develop this feature. Sorry.

Thank you.

Re: Number formatting

Posted: Tue May 28, 2013 8:36 am
by prajan
That is very sad to know :-(
Can the format mask of the Custom Format be used for doing this? Any help will be highly appreciated :)

Thanks

Re: Number formatting

Posted: Tue May 28, 2013 2:47 pm
by Alex K.
Hello,

As a way, you can try to realize your own function which will be return the value with the necessary formating.

Thank you.