I was translating this script here to Swift: https://stackoverflow.com/a/3758880/2430555
The error: binary operator '<' cannot be applied to operands of type '()' and 'Int'
But I am stuck in the part below, this is not compiling because \= is not returning the value, instead it's returning (). Any idea what this could be?
var b: Int64 = Int64(1e3)
let bb = ((b/=1000) < 999_950)
Thank you all.