All of the calculations are completed before changing the data type to
the type of the destination variable.

Regards,

Stephen Markson
ForenSys The Forensic Systems Group
www.ForensicSystemsGroup.com
416 482 2140


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On
> Behalf Of DanieleBarbieri
> Sent: June 24, 2002 11:53 AM
> To: [EMAIL PROTECTED]; Rbase RDCC
> Subject: Problems in mathematical expression.
> 
> God morning to All
> 
> in the middle of R> I try this:
> 
> SET VA Alfa INTEGER
> SET VAR Beta INTEGER
> SET VAR Alfa=(12345)
> SET VAR Beta=(.Alfa / 100 * 100)
> SHOW VAR Beta
>       12345
> 
> instead of 12300  (my dream)
> 
> then I try
> 
> SET VAR Beta=(.Alfa / 100)
> SET VAR Beta=(.Beta * 100)
> SHOW VAR Beta
>      12300   (ok)
> 
> Also the expression:
> 
> SET VAR Beta=((INT(.Alfa / 100)) * 100) work OK (12300)
> 
> Do you know wy the expression (.Alfa / 100 * 100)  or  ((.Alfa / 100)
* 100)
> don't works ?
> 
> TIA
> 
> Daniele Barbieri
> [EMAIL PROTECTED]
> www.bmbinformatica.it
> 
> 
> 
> 
> ================================================
> TO SEE MESSAGE POSTING GUIDELINES:
> Send a plain text email to [EMAIL PROTECTED]
> In the message body, put just two words: INTRO rbase-l
> ================================================
> TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
> In the message body, put just two words: UNSUBSCRIBE rbase-l
> ================================================
> TO SEARCH ARCHIVES:
> http://www.mail-archive.com/rbase-l%40sonetmail.com/

================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to