Answers for "string format integer swift"

1

string.format swift

let str = String(format:"%d, %f, %ld", INT_VALUE, FLOAT_VALUE, DOUBLE_VALUE)

let str = "\(INT_VALUE), \(FLOAT_VALUE), \(DOUBLE_VALUE)"
Posted by: Guest on April-06-2020

Code answers related to "Swift"

Browse Popular Code Answers by Language