Swift Double Methods
Swift provides various Double methods that are used to perform operations on numbers. For examplle, the
isEqual() method compares if one number is equal to another or not.
In this reference, you will find various double methods that are available in Swift.
checks if one number is equal to another
calculates the quotient and remainder
computes the floating point remainder
rounds the specified value to the closest int
returns the absolute value
checks if one number is less than another
checks if number is less than or equal to another
checks if one number is multiple of another
returns the maximum of the two given values
returns the minimum of the two given values
returns the square root