I think you have to convert the format to an integer specifically.  Try:
 

 set var v2 INTEGER = (INT(FORMAT(.v1,"#0.0;_#0.0")))
 

-----Original Message-----
From: Dr. Fritz Luettgens <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Mon, Jun 24, 2013 12:24 pm
Subject: [RBASE-L] - FORMAT



R:BASE eXtreme 9.5 (64), Build: 9.5.3.20611, Win7 Ultimate
 
R> SET VAR v1 INTEGER = 2137903
R> set var v2 INTEGER = (FORMAT(.v1,"#0.0;_#0.0"))
-ERROR- Your value does not have the same type or scale as your variable v2 
(2178)
 
Can´t find my mistake anymore, serious beginner blues,
thank´s
Fritz
 
Conf Settings: 
Quotes “
Delimit ,
Tolerance 0,
(Europe)


Reply via email to