XSLT » xsl:decimal-format » NaN="string"

The optional NaN attribute defines what string is used to indicate that the value is not a number. The default is the string, "NaN".