-
Notifications
You must be signed in to change notification settings - Fork 783
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consistent customisable way to use decimals #1245
Comments
Something else just came to mind: not all locales use |
Oh, interesting, just took a look at how we do it in dictation mode and we have a similar construction to what we have in CSS: community/core/text/text_and_dictation.py Lines 49 to 51 in d9c6373
|
I would just extend the normal number command with this ability. We can either do two separate commands in the Talon file or make a capture that enables both? |
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: