style.speakNumeral (Property)

Part of the aural style control suite that defines whether numbers are spoken individually or in a compounded form.

Availability:

CSS level - 2
DOM level - 2
Property/method value type:String primitive
JavaScript syntax:nonemyStyle.speakNumeral
CSS syntax:speak-numeral: aType
Argument list:aTypeA manner in which to read numeric values

This property controls how numeric values are read out. Long numeric values would normally be read out one digit at a time, but a year number might be read out as a compound string.

The CSS2 standard dictates that the language for reading the numbers should be defined with the LANG="..." HTML tag attribute for the HTML tag that instantiates the object that this style applies to.

The following keywords can be used with this property:

The none keyword inhibits the reading out of numbers.

The digits keyword forces numeric values to be read out one digit at a time. For example, 2000 would be pronounced as "Two zero zero zero" if the spoken language is English.

The continuous keyword forces numeric values to be read out as a word or string of words compounded together. For example, 2000 would be pronounced as "Two thousand" if the spoken language is English.

Warnings:

See also:Aural style sheets