REAL_VALUE

Previous  Next

 

REAL_VALUE( value )

 


 

Returns the REAL part of a value_t

 

Example

 

BEGIN_PARSE( s, l )

  POP_VALUE( val )

END_PARSE

 

// Get the real number if type REAL

if ( IS_REAL_VALUE( val ) )

  {

  float fVal = REAL_VALUE( val );

  }