Skip to content

Fixe #472: Add !units parser for feet, inches, m, cm - #503

Open
prakhar2000 wants to merge 1 commit into
ServiceNowDevProgram:mainfrom
prakhar2000:add-length-unit-conversions
Open

prakhar2000 wants to merge 1 commit into
ServiceNowDevProgram:mainfrom
prakhar2000:add-length-unit-conversions

Conversation

@prakhar2000

Copy link
Copy Markdown

Fixes #472

New parser: Parsers/Convert length units.js

!units 10 ft to m

Length only : mm, cm, m, km, in, ft, yd, mi (and the usual spellings). Converts through meters. No API.

Empty/bad input gets a usage hint. Same shape as Minutes to Seconds.js (ES5, concatenated strings).

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add unit conversions for feet, inches, m, cm, etc

1 participant