Open Instance Methodswift 6.0.3Foundation
string(fromValue:unit:)
func string(fromValue value: Double, unit: EnergyFormatter.Unit) -> String
func string(fromValue value: Double, unit: EnergyFormatter.Unit) -> String
s10Foundation15EnergyFormatterC6string9fromValue4unitSSSd_AC4UnitOtF
What are these?9FN4H
import Foundation
class EnergyFormatter
@frozen struct Double
A double-precision, floating-point value type.
enum Unit
@frozen struct String
A Unicode string value that is a collection of characters.
override init()
required init?(coder: NSCoder)
var isForFoodEnergyUse: Bool
var numberFormatter: NumberFormatter!
var unitStyle: Formatter.UnitStyle
func string(fromJoules numberInJoules: Double) -> String
func unitString(fromJoules numberInJoules: Double, usedUnit unitp: UnsafeMutablePointer<EnergyFormatter.Unit>?) -> String
func unitString(fromValue value: Double, unit: EnergyFormatter.Unit) -> String