Question
Yuri Marx · Jan 4

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 dc.data.health.BreastCancer 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
1
0 74
Discussion (2)1
Log in or sign up to continue

Hi.

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

Regards, Matjaž

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