Shortcuts app: Speak Text behaves strangely for money amount that starts with $13 or $14

Originator:hong.rich
Number:rdar://46030813 Date Originated:13-Nov-2018 12:18 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:Shortcuts 2.1.1
Classification:UI/Usability Reproducible:Always
 
Summary:
Shortcuts app appears to behave very strangely when asking it to speak money amounts that starts with $13 or $14. It speaks most money amounts exactly as one would expect. For example, “$42 million” is spoken as “42 million dollars” which is expected. However, it appears to speak incorrectly when the money amount starts with either “$13” or “$14” and ends in either “million”, “billion”, or “trillion”. The number part could be anything from “13.x”, “14.x”, “13x”, “14x”, “13”, “14” where “x” is any digit. Steps below include some examples and how to reproduce this issue.

Steps to Reproduce:
1. Add “Speak Text” shortcut in Shortcuts app -> Gallery -> Search for “Speak Text” -> Tap on the first result with subtitle of “Speaks the specified text” -> Get Shortcut
2. Run the “Speak Text” shortcut
3. Paste in the following text
```
$13.3 million

$14.3 million

$13.3 billion

$14.3 billion

$134 million

$143 million

$134 billion

$143 billion
```
4. Tap “Done”

Expected Results:
The following should be spoken:
```
13 point 3 million dollars
14 point 3 million dollars
13 point 3 billion dollars
14 point 3 billion dollars
134 million dollars
143 million dollars
134 billion dollars
143 billion dollars
```

Actual Results:
The following are actually spoken:
```
13 dollars and dollar sign 2 0 cents million
14 dollars and dollar sign 2 0 cents million
13 dollars and dollar sign 2 0 cents billion
14 dollars and dollar sign 2 0 cents billion
134 dollars million
143 dollars million
134 dollars billion
143 dollars billion
```

Version:
Shortcuts 2.1.1

Notes:
iOS 12.1 (16B92)
iPhone Xs
Language: English (US)
Region: United States

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!