• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 433
  • Last Modified:

how to use MaskEdBox to format 2 char currency symbol ?

I'm a programmer from Malaysia, and our currency symbo is "RM" with are 2 characters, how can I set this format in the MaskEdBox to auto format the numeric data ?
0
eugeneng
Asked:
eugeneng
1 Solution
 
manchulaCommented:
Where do you want to display RM? Can you please tell this clearly?
0
 
b_samratCommented:
hi
please explain ur problem clearly

samrat
0
 
syedAliFCommented:
Set the mask property of maskedit control to get the required format.

RM#,##.##
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
eugenengAuthor Commented:
I'm sorry about the my ambiguous question. Ok now, I placed a maskedit on my form and set the  "Mask" property to "RM #,###,###.##", and then I key in 1234 into the maskedit. When this maskedit lost the focus, the content of the maskedit become "RM 1,234,.". And if I erase the "Mark" property and set the "Format" to "RM #,###,###.00", if I key in "1234" again, when the maskedit lost the focus, the content get formated to "R5,#,###,###.00". How do I get "RM 1,234.00" when the maskedit lost the focus.
0
 
manchulaCommented:
Try giving the same format R5,#,###,###.00 to both the Mask & Format Properties
0
 
eugenengAuthor Commented:
manchula's method works, how do I give this the point ?
0
 
eugenengAuthor Commented:
thanx man..
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now