Returns a boolean for whether the given number is a float, like 1.5 or -1.5.
1.5
-1.5
返回一个布尔值,表示给定的数字是否为浮点数,例如 1.5 或 -1.5。
要检查的类型
Returns a boolean for whether the given number is a float, like
1.5or-1.5.返回一个布尔值,表示给定的数字是否为浮点数,例如
1.5或-1.5。