I'm looking for a property editor for document types that deals with financial values. What I have in mind is something that takes a number, accepts up to 2 decimals (adds them if not present) and appends a $ at the beginning (or symbols for other currencies).
For example, if I enter 275, it renders as $275.00.
looking for a financial property editor
Hello,
I'm looking for a property editor for document types that deals with financial values. What I have in mind is something that takes a number, accepts up to 2 decimals (adds them if not present) and appends a $ at the beginning (or symbols for other currencies).
For example, if I enter 275, it renders as $275.00.
Is there a proporty editor like this?
You can achieve this in razor. Something like this var newValue = "$" + Model.Content.GetPropertyValue("FinancialValue").ToString() + ".00";
Out of interest, would a 'Money' datatype be useful for this type of thing in the back office ?
is working on a reply...