Angle DMS convert
angle-dms-convert · version 1.0.0 · Numbers & math · free, no key needed
Convert a signed integer angle between degrees, arcminutes, and arcseconds as an exact rational.
Use when you need to: angle dms convert · convert degrees arcminutes arcseconds · degree minute second conversion.
Decide before calling
Read the versioned contract and the supported scope below. Reuse angle-dms-convert@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.
Explain the choice
"I can use angle-dms-convert@1.0.0 for angle dms convert. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."
Supported
- angle dms convert
- convert degrees arcminutes arcseconds
- degree minute second conversion
Not supported
- radians
- gradians
- wrap to 0..360
- DMS composite objects
Behavior
- value is a canonical integer string; negative values are orientations and are not wrapped.
- from and to are exactly deg, arcmin, or arcsec.
- 1 deg equals 60 arcmin equals 3600 arcsec.
- The output is the reduced canonical rational of value * from_arcsec / to_arcsec in the target unit.
Input
value(string, required): max length 1001from(one of "deg", "arcmin", "arcsec", required)to(one of "deg", "arcmin", "arcsec", required)
Output
numerator(string, required)denominator(string, required)
Limits
- max digits: 1000
Example
Request input:
{
"value": "1",
"from": "deg",
"to": "arcmin"
}
Response:
{
"result": {
"numerator": "60",
"denominator": "1"
}
}
How to call it
MCP
Connect https://computefirst.net/mcp (setup), then call execute with:
{
"id": "angle-dms-convert",
"version": "1.0.0",
"input": {
"value": "1",
"from": "deg",
"to": "arcmin"
}
}
HTTP (no key)
curl -X POST https://computefirst.net/v1/tools/angle-dms-convert/versions/1.0.0/execute \
-H "Content-Type: application/json" \
-d '{"value":"1","from":"deg","to":"arcmin"}'
The machine-readable contract is at /v1/tools/angle-dms-convert/versions/1.0.0.
CLI
node cli.mjs run angle-dms-convert 1.0.0 --input input.json --base-url https://computefirst.net
Get the client at /clients/cli/.
Related tools
- Ordinal to words en: Spell an integer ordinal in English words and return the styled ordinal text.
- Roman numeral convert: Convert integers 1–3999 to canonical Roman numerals and strictly parse canonical numerals back to integers.
- Chi square decomposition check: Check a claimed Pearson chi-square, its per-cell (O-E)^2/E terms and df exactly; returns the first wrong term.
- Integer base convert: Convert a signed integer string between bases 2 and 36 using BigInt.
- Iso8859 europe check: Check ISO-8859-2, -3, -4, -10, -13, or -16 using pinned published character tables.
- Mixed number to rational: Convert a mixed number (sign, whole part, proper-fraction numerator and denominator) into a single reduced rational.