Skip to content
MarcoDotIO edited this page Apr 25, 2023 · 1 revision

Extensions on String

Initializers

init(_:radix:uppercase:)

Creates a string representing the given value in base 10, or some other specified base.

public init(_ value: UInt128, radix: Int = 10, uppercase: Bool = false) 

Parameters

  • value: The UInt128 value to convert to a string.
  • radix: The base to use for the string representation. radix must be at least 2 and at most 36. The default is 10.
  • uppercase: Pass true to use uppercase letters to represent numerals or false to use lowercase letters. The default is false.
Types
Protocols
Global Variables
Global Functions
Extensions
Clone this wiki locally