Functions.StrInt 方法 |
命名空间: XSharp.RT
FUNCTION StrInt( liNumber AS LONG, dwLength AS DWORD, dwDecimals AS DWORD ) AS STRING
public static string StrInt( int liNumber, uint dwLength, uint dwDecimals )
1LOCAL iNumber AS INT 2iNumber := 123 3? StrInt(iNumber,10, 0) // 123 4? StrInt(iNumber, 4, 0) // 123 5? StrInt(iNumber, 2, 0) // **