contents.gifindex.gifprev1.gifnext1.gif

PlayMoney method

The PlayMoney method does for currency strings what the PlayDate method does for date strings. That is, it will voice currency amounts (in dollars and cents) to a caller, given an input string. There are no special formatting options for this method.

Example: ActiveAG.PlayMoney (123.45) Says One hundred twenty three

dollars and forty five cents

However, like the PlayDate method, PlayMoney also uses the prompt voice files and relies on the two properties that control those.

Type

Arguments: MoneyString BSTR

Returns: A long integer status code (see ActiveAG Status codes)

Property interactions: This method is sensitive to the PromptVoiceFormat property.