I need a currency datatype - the default nummeric datatype does not accept , and . So basiclly i just need a datatype that will accept , and . - how should i go about creating that?
Hi I would go for a string datatype and add a regular expression to validat if it's a real currency or not. Out of the box Umraco doesn't support decimal/currency datatupes. In theory you can build it, but i wouldn't go for that.
I know this is coming in a few years after the last post, but is it true that even in Umbraco 6.0.3 there are still no currency or decimal datatypes? This is such a weird omission that it took me about 20 minutes to even understand why my currency values weren't getting saved correctly.
Currency datatype?
n00b question comming here;
I need a currency datatype - the default nummeric datatype does not accept , and .
So basiclly i just need a datatype that will accept , and . - how should i go about creating that?
You could use a textstring with a regex to make sure it's in the correct format.
Dan
Hi I would go for a string datatype and add a regular expression to validat if it's a real currency or not. Out of the box Umraco doesn't support decimal/currency datatupes. In theory you can build it, but i wouldn't go for that.
Cheers,
Richard
I know this is coming in a few years after the last post, but is it true that even in Umbraco 6.0.3 there are still no currency or decimal datatypes? This is such a weird omission that it took me about 20 minutes to even understand why my currency values weren't getting saved correctly.
is working on a reply...