Re: [BLACKBOX] Type transfer

From: [at]} <René>
Date: Fri, 14 Oct 2011 18:59:18 -0500


In my mind it is:
VAR i: INTEGER; r: REAL;
... r:= i ...


On Fri, Oct 14, 2011 at 6:23 AM, Campbell, Robert (SELEX GALILEO, UK) <robert.d.campbell{([at]})nowhere.xy


My mind has suddenly gone blank!


What is the easiest way of converting an INTEGER (say n) to a REAL?

The expression "(n + 0.)" just seems a bit unnatural.


Cheers

Robert
SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
Received on Sat Oct 15 2011 - 01:59:18 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:10 UTC