杂项

从数字中去除单位或百分比

要从数字中去除单位、比率或百分比,请将其转换为“数字”(或小数)。

$100 as number    | 100
40/day to decimal | 40
20% as dec        | 0.2

比例 / 三项比例法则

这些短语被称为 三项比例法则arrow-up-right,可帮助您找到维持比例所需的数字。

6 is to 60 as 8 is to what  | 80
5 is to 10 as what is to 80 | 40

这些短语也适用于单位:

5 km is to 500m as 5 cm is to what                | 5 mm
30 minutes is to 3 hours as what is to 60 seconds | 10 seconds

比较数字

min() 和 max() 在 Soulver 中

larger of 100 and 200  | 200
greater of 100 and 200 | 200
                                                     
smaller of 5 and 10    | 5
lesser of 5 and 10     | 5

中点

随机数

要生成指定范围内的随机整数:

要生成随机浮点数,请使用 0 到 1 的范围。

LCM 和 GCD

最小公倍数和最大公约数

排列与组合

或者使用稍清晰的语法:

钳制

最后更新于