LOTUSSCRIPT 言語


例:Bin 関数
Print Bin$(3) ' Prints "11"

' Converts Double argument to Long.
Print Bin$(3.0) ' Prints "11"

' Rounds Double argument, then converts to Long.
Print Bin$(3.3) ' Prints "11"

' Computes product 2.79, rounds to 3.0, then converts to Long.
Print Bin$(3.1 * .9) ' Prints "11"

関連項目