Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のような秒単位の現在の時刻があります。
The_Seconds : DAY_DURATION;
そして、それをに変換したいと思いIntegerます。どうすればいいですか?
Integer
ありがとうございました。
の定義はDAY_DURATION?
DAY_DURATION
秒単位の場合は、整数型である可能性があるため、Integer( The_Seconds )機能します。その構文も機能するFloatはずですが、変換する前に切り捨て、丸め、または上限にするかどうかを考える必要があります [浮動小数点属性を調べます]。
Integer( The_Seconds )
Float