This is a migrated thread and some comments may be shown as answers.

toString(field, "c") returns ($0.00) if negative

1 Answer 81 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
Fabrizio
Top achievements
Rank 1
Fabrizio asked on 21 Nov 2012, 04:55 AM
Hi guys,
i'm trying to show a negative currency value for a numeric text box. Currently when I populate the control with a negative value it shows it within brackets without the negative simbol.
How can I achieve that?

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 21 Nov 2012, 01:09 PM
Hello Fabrizio,

 
The toString method works just fine on my end. Check this jsBin demo for more information.

All the best,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
NumericTextBox
Asked by
Fabrizio
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or