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

[Solved] Integer textbox with a dollar($) sign

1 Answer 225 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Anil
Top achievements
Rank 1
Anil asked on 01 Sep 2010, 05:01 PM
Is there a way to format the amount in integers using the Integer textbox so that dollar($) sign is displayed in front of the number.
e.g. if they enter 35 ( integer) in the Integer textbox, it should format it to $35.
The reason we need this is because we have a requirement where the dollar amount is not decimal or money, it is integer(whole number). That is why we cannot use the Currency textbox which allows to type in a decimal value.

1 Answer, 1 is accepted

Sort by
0
nachid
Top achievements
Rank 1
answered on 01 Sep 2010, 08:37 PM
What if you use CurrencyTextBox with DecimalDigits(0)?
Tags
NumericTextBox
Asked by
Anil
Top achievements
Rank 1
Answers by
nachid
Top achievements
Rank 1
Share this question
or