Welcome to VitriaCloud. Please Register or Login.   

 

Vitria forums are an excellent way for Vitria partners and customers to ask questions and get help. Chose the forums to participate in from a list of diverse topics. Your questions will be answered in a timely manner. You must be a registered VitriaCloud member to post to the forums.

 

You must be logged in to post
Search 
Search Forums:


 




M3O 3.x - Float Currency Constrain

UserPost

8:11 am
September 14, 2009


jpalacios

Member

Spain - Madrid

posts 24

1

Hi,

Defining a Float constrain I marked the check box “Currency” to allow currency values.

After that I checked using the Constrain Tester my currency value.

In Spain '.' is the thousand separator and ',' is for decimal numbers.

By default seems to be the opposite '.' for decimal numbers and ',' thousand separator. So English settings.

My local regional settings are set to use Spanish for standards and formats and for the language and keyboard.


I set of questions come to me:

a) How do know and how do I select what currency I am working with?

b) Do I have to set/configure the tool in order to use the local configuration?, so, does the product make any check against the operating system regional settings?

d) Finally, how can I set the currency format? - I would like to have, for instance, a validation for this float currency value:  #.###.###,## €

Thanks

8:45 pm
September 14, 2009


gzhang

Member

posts 26

2

Hi,

As you defined, ' Float Currency Constrain', first, it is a float type, so it can not support '#.###.###,## €' or '#.###.###,## $' format. Another, the '#,###,###.##' is a common format in internatial, so, M3O supports it in default.

Now, we can not support Currency fromat by local configuration.

To support '#.###.###,## €', I sugget that you can use: string, constraint type-by rule, string pattarn.


Regards,

-Eric Zhang

10:57 pm
September 14, 2009


Shigang Liu

Member

posts 54

3

Hi,


Currently the check for thousand separator and decimal numbers is fixed in despite of locale. If you want to check it with Spain mode, I can file an enhancement for you.

Shigang Liu

Search