Result should be: 

r>           v2           = 2.137.903        INTEGER

 

Von: [email protected] [mailto:[email protected]] Im Auftrag von Dr. Fritz 
Luettgens
Gesendet: Montag, 24. Juni 2013 19:35
An: RBASE-L Mailing List
Betreff: [RBASE-L] - AW: [RBASE-L] - Re: FORMAT

 

results:

v1                        = 2137903                       INTEGER

v2                        = 0                                    INTEGER

 

Von: [email protected] [mailto:[email protected]] Im Auftrag von Karen Tellef
Gesendet: Montag, 24. Juni 2013 19:31
An: RBASE-L Mailing List
Betreff: [RBASE-L] - Re: FORMAT

 

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 < <mailto:[email protected]> [email protected]>
To: RBASE-L Mailing List < <mailto:[email protected]> [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