Extended ProtocolSwift
BinaryFloatingPoint
extension BinaryFloatingPoint
Topics
Initializers
init(_:format:lenient:)Initialize an instance by parsingvaluewith aParseStrategycreated with the givenformatand thelenientargument.init(_:strategy:)Initialize an instance by parsingvaluewith the givenstrategy.
Instance Methods
func formatted() -> StringFormatselfwithFloatingPointFormatStyle().func formatted(_:)Formatselfwith the given format.selfis first converted toS.FormatInputtype, then format with the given format.