Overview | Statement List


整型转换为字符串

Synopsis

ISTRL(n)

Description

Converts the integer portion of a real number into a character string. The maximum number of characters which this function can return is 30.

The 30 character limit is set so that you can use the string in the MESSG statement directly (MESSG has a limit of 60 characters per line). For example:

MESSG/'R = ' + ISTRL(r)

Parameters

Parameter

Description

n

Real number whose integer portion is converted to a character string. The non-integer (to the right of the decimal point) portion gets truncated.

 


Copyright ©2015 胡君NX二次开发官网(www.UGapi.com) QQ:85585969 All Rights Reserved.