Autoconvert numeric format from javascript to CLR