混合编号到不正确分数计算器
将混合数转换成不适当的分数、小数和最简单的形式。
输入结果时更新 。
关于此计算器
A mixed number combines a whole number with a fraction, like 2 3/4. This calculator converts it to an improper fraction (a single numerator over a denominator), a decimal, and its simplest form, showing each step of the conversion.
The rule is: multiply the whole number by the denominator, add the numerator, and keep the same denominator. For 2 3/4 that is (2 × 4 + 3)/4 = 11/4. Dividing gives the decimal, 11 ÷ 4 = 2.75, and dividing top and bottom by their greatest common divisor gives the simplest form (11/4 is already in lowest terms). A negative whole number carries its sign into the result, so −2 3/4 = −11/4.
Improper fractions are the form you need for multiplying, dividing or comparing mixed numbers, and they are how most fraction arithmetic is carried out before converting the answer back. Denominators built only from 2s and 5s (like 4, 8 or 10) give terminating decimals; others (like 3 or 7) repeat and are shown rounded.
经常问到的问题
如何将混合数变成不适当的分数?
将整数乘以分母,加上分子,并将总数置于原分母之上。 2 3/4 = 2 x4 + 3 /4 = 11/4。
如何将其转换为小数点后一位?
Divide the improper numerator by the denominator. 11/4 = 11 ÷ 4 = 2.75.
什么是混合数字?
是一个整数, 与一个合适的分数相邻, 例如 2 3/4, 意指两个整数加四分之三。
“ 简单形式” 结果显示什么?
The improper fraction reduced by its greatest common divisor. For example 2 2/4 becomes 10/4, which simplifies to 5/2.
我能输入负混合数吗?
是。输入负整数,符号适用于整个值:-2 3/4转换为- 11/4。
什么时候是小数点准确, 而不是四舍五入?
仅以2和5(4、8、10、20...)为分数,表示终止小数。其他的,如3或7, 则永远重复, 并四舍五入。
API - 使用代码中的计算器
将此计算器称为自由 JSON 端点 。 不需要按键 。 将字段值发送到下面作为查询参数或 JSON 。 任何您省略的, 都会使用相同的默认值, 此页面预填的默认值是预填的; 未知参数是 400, 而不是静音零 。 读取 API 全部文件 →
终点
GET https://calculator.free/api/v1/mixed-number/
curl
curl "https://calculator.free/api/v1/mixed-number/?whole=2&num=3&den=4"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/mixed-number/?" + new URLSearchParams({
"whole": "2",
"num": "3",
"den": "4"
}));
const data = await r.json();
console.log(data.results);
成果仅是一般指导的估计数,而不是财务、医疗或税务咨询。