Contents

decimalSeparator

The decimal separator for the locale.

Declaration

var decimalSeparator: String { get }

Discussion

Example decimal separators include "." and ",".

This property contains the same value returned by the object(forKey:) method when passing the decimalSeparator key.

See Also

Getting Information About a Locale