IMetaPrimitive getDefaultValue() returning an empty string when the type is decimal

4
Hi,  I'm working on a java action, and i'm using IMetaPrimitivegetDefaultValue(). https://apidocs.mendix.com/7/runtime/com/mendix/systemwideinterfaces/core/meta/IMetaPrimitive.html#getDefaultValue-- It returns the value of the attribute when the type is integer,date or string, but when It's a decimal, it returns an empty string.  - Code example : String value = imetaObject.getMetaPrimitive(attributrName).getDefaultValue();  Anybody else encountered the same error ? thanks for your help. Regards, Amine  
asked
0 answers