Phantom Documentation

[Help Home] [Phantom Home]
real

real real(int)

Return Type: real
Parameters: int input

Description:
This function converts an integer to a floating point number. The digits after the decimal are zero.

Example Code
1 >>real r = real(12);
2 >>disp(r);
12.00000000000000


 


Copyright 2000-2011 Phantom Automated Solutions