You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
value <user.number_string> [{user.css_unit}]: "{number_string}{css_unit or ''}"
value <user.number_string> point <digit_string> [{user.css_unit}]:
"{number_string}.{digit_string}{css_unit or ''}"
This only recognises how decimals are typically taught to be read in English-speaking classrooms (e.g. three point one four for 3.14). Some people might like to be able to dictate the fractional part of decimals like whole numbers though, e.g. twelve point thirty four for 12.34. Others might prefer to say dot instead of point.
We should add a decimal_string capture to allow this to be reused in other commands and customised globally.
The text was updated successfully, but these errors were encountered:
Something else just came to mind: not all locales use . for decimals, instead using ,. For programming though we'll still want a way to dictate decimals using . – not sure what the best way to do this is.
In the CSS support there's a couple of commands that recognise decimals:
community/lang/css/css.talon
Lines 27 to 29 in d9c6373
This only recognises how decimals are typically taught to be read in English-speaking classrooms (e.g.
three point one four
for3.14
). Some people might like to be able to dictate the fractional part of decimals like whole numbers though, e.g.twelve point thirty four
for12.34
. Others might prefer to saydot
instead ofpoint
.We should add a
decimal_string
capture to allow this to be reused in other commands and customised globally.The text was updated successfully, but these errors were encountered: