Swift\'s substitutes for the % symbol for floating point numbers:
func truncatingRemainder(dividingBy other: Self) -> Self
This looks like a job for...playgrounds!
let thing: Float = 8126.84652
let truncating = thing.truncatingRemainder(dividingBy: 10) // value is 6.84668, analog to %
let nonTruncating = thing.remainder(dividingBy: 10) // -3.15332
As you can see, the plain remainder is allowed to go negative, (or rather, subtracts until the value is <=0) whereas the truncating remainder will remain positive. (stops when the value is >=0)