public StringBinding asString (Locale locale, String format)

Creates a javafx.beans.binding.StringBinding that holds the value of the NumberExpression turned into a String. If the value of this NumberExpression changes, the value of the StringBinding will be updated automatically.

The result is formatted according to the formatting String and the passed in Locale. See java.util.Formatter for formatting rules. See java.util.Locale for details on Locale.

Parameters:
locale    the Locale to be used
format     the formatting String

Returns:  the new StringBinding

Since:  JavaFX 8.0