Plex 2E

 View Only
  • 1.  Decimal Places and Edit Masks

    Posted Oct 31, 2018 08:15 AM

    We ae using C# .NET and using edit masks to handle display of currency fields.

     

    So for example #,###,###,###,##0.00      ;#,###,###,###,##0.00 CR for standard debit and credit values.  Now the obvious restriction is where the currency in question has either more than 2 or less than 2 (including zero) decimal places.

    Has anyone figured out a way to use edit masks either in a dynamic way to selectively display decimal points depending on the currency, or has come up with an edit mask that caters somehow?

     

    Hoping for a quick response ... thanks Dave.



  • 2.  Re: Decimal Places and Edit Masks

    Posted Oct 31, 2018 09:29 AM

    a quick response...I don't worked with c# variants. A simple way is having different fields for different masks, making visible/invisible the desired one.