ActionScript-3 – flex digital format

I want to format numbers in Indian format.

For example,

x = 123456 should be formatted as
1 ,23,456.

How can I do this in flex?

Thank you,

Use number format.

 decimalSeparatorFrom="."
decimalSeparatorTo="."
precision="-1"
rounding="none"
thousandsSeparatorFrom=","
thousandsSeparatorTo=","
useNegativeSign="true"
useThousandsSeparator="true"/>

Action code

x = myFormatter.format(x);

I want to format numbers in Indian format.

For example,

x = 123456 should be formatted as
1,23,456.

How can I do this in flex ?

Thank you,

Use number format.

 decimalSeparatorFrom="."
decimalSeparatorTo="."
precision="-1"
rounding="none"
thousandsSeparatorFrom= ","
thousandsSeparatorTo=","
useNegativeSign="true"
useThousandsSeparator="true"/>

Action code

x = myFormatter.format(x);

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 563 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.