Yuri Marx · Jan 4, 2022

Persistent Class Property Data type for decimal values precision 5

What is the correct data type for decimal numbers precision 5?

I tried %Numeric with Scale 5, but not worked, see:

Class Extends %Persistent [ SqlRowIdPrivate ]
Parameter Scale = 5;
/// Mean of distances from center to points on the perimeter
Property radiusmean As %Numeric;
Product version: IRIS 2021.2
0 114
Discussion (2)1
Log in or sign up to continue


Have you tried:
Property radiusmean As %Numeric(SCALE = 5);

Regards, Matjaž

Thanks, you right, I did use Scale but SCALE is the correct value.