Maybe you need to add the reference in your controller to load the class.
sap.ui.define([
"sap.ui.core.format.NumberFormat",
...
], function(NumberFormat, ...
and then use
var numberFormat = NumberFormat.getFloatInstance({
Regards,
Jamie
SAP - Technology RIG