Fix to NaN value in firefox

nData *= 1; return NaN in firefox when string is something like "1039,75"