숫자 기본 변환기
이진, 팔진법, 십진법 및 십육진법 사이의 숫자를 변환합니다.
입력하는 동안 결과가 업데이트됩니다.
이 계산기에 대해
number base converter reads the value in the source base, works out its plain decimal value, and re-expresses that value in the target base. A number base converter reads your value in the source base, works out its plain decimal value, and re-expresses that value in the target base. A number base converter reads your value in the source base, works out its plain decimal value, and re-expresses that value in the target base. A number base converter reads your value in the source base, works out its plain decimal value, and re-expresses that value in the target base. AWorkedWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked example: aWorked
자주 묻는 질문
십진법을 이진법으로 변환하는 방법은 무엇입니까?
2로 반복적으로 나누고 아래에서 위로 남은 값을 읽는다. 예를 들어, 십진법으로 10은 이진법으로 1010이고, 255는 11이다.
16진법은 무엇을 위해 사용되나요?
16진법(16진법 기준)은 4개의 이진 비트를 한 자리(0-9, A-F)로 묶어서 바이트를 쓰는 간단한 방법입니다. 16진법에서 255는 FF입니다.
내 번호에 대시가 표시되는 이유는 무엇입니까?
숫자는 소스 기준에 맞아야 합니다. 예를 들어 이진법에서는 0과 1, 십육진법에서는 0-9와 A-F만 맞아야 합니다.
16진법에서 A에서 F까지의 글자는 무엇을 의미합니까?
A는 10이고, B는 11이고, F는 15입니다. 이것은 기본 16이 15까지의 숫자를 한 장소에 맞추기 전에 16을 운반해야합니다.
왜 각 16진수 자리가 4개의 이진자리와 같습니까?
16은 4제곱의 2와 같기 때문에, 각 16진수 숫자는 정확히 4비트를 커버합니다. 그래서 바이트 11은 1 1으로 그룹화되며, 이것은 FF입니다. 이 숫자 기반 변환기는 그룹화를 당신을 위해 수행합니다.
이 변환기는 매우 큰 숫자를 처리 할 수 있습니까?
정수에 대해 작동하며 정확하게 저장된 정수 범위까지 정확합니다(약 9 쿼드리리온, 2⁵³). 그 이상의 경우, 매우 긴 이진 또는 십육진법 문자열은 마지막 자리에서 정확성을 잃을 수 있습니다.
API — 코드에서 이 계산기를 사용
이 계산기를 무료 JSON 엔드포인트로 호출하세요. 키가 필요하지 않습니다. 아래 필드 값을 쿼리 매개 변수 또는 JSON으로 보내십시오. 전체 API 문서 읽기 →
끝점
GET https://calculator.free/api/v1/number-base/
curl
curl "https://calculator.free/api/v1/number-base/?amount=255&from=10&to=2"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/number-base/?" + new URLSearchParams({
"amount": "255",
"from": "10",
"to": "2"
}));
const data = await r.json();
console.log(data.results);
결과는 재정, 의료 또는 세금 조언이 아닌 일반적인 지침을위한 추정치입니다.