使用手册
-
学生
-
老师
-
编程
-
-
-
- 以 Unix 时间创建 DateTimeOffset
- 以不同单位创建 DateTimeOffset
- 以其他格式显示时间
- 以毫秒显示DateTimeOffset
- 使用当前时间创建DateTimeOffset
- 将 DateTimeOffset 与新的协调世界时偏移量合并
- 将 DateTimeOffset 变更成字串格式
- 将文字转换为 DateTimeOffset 格式
- 将间距加到dateTimeOffset
- 检查DateTimeOffset是否在正确的数据类型
- 检查两个DateTimeOffsets是否相同
- 计算两个DateTimeOffsets之间的间距
- 设定协调世界时偏移量
- 转换DateTimeOffset为字串
-
Print
取平方根
平方根
{"blocks":"sqrt 0 "}
这积木是用作返回该数值的平方根。
参数:情况:
- 数字(预设:0)
- 平方根(预设)/ sin / cos / tan / atan2 / 相除取整 / 相乘取整
输出:数字
示例代码:
{"blocks":"mainLayout mainScreen value dateTimeOffset mainLayout 0 mainScreen 0 Main mainLayout value 0 sqrt 144 mainLayout value "}
当设定为平方根144时的输出结果:
当设定为sin 144时的输出结果:
当设定为cos 144时的输出结果:
当设定为tan 144时的输出结果:
当设定为atan2 144 0时的输出结果:
当设定为144相除取整5时的输出结果:
当设定为144相乘取整5时的输出结果: