Written by

Software Architect at Visum
Question 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 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

Comments

Matjaz Murko · Jan 4, 2022

Hi.

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

Regards, Matjaž

0
Yuri Marx  Jan 4, 2022 to Matjaz Murko

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

0