format-number Function Error

The format-number function fails with a cannot convert string to number error for nondecimal input instead of returning a Not a Number (NaN) response. This is the expected current behavior and applies to all design time and runtime usage of this function.