It appears that fmt:formatNumber does not remove the scoped variable when the value is null or empty.
Good catch. This has now been fixed.