core / io.islandtime.measures / LongMonths / div

div

(iosArm64, iosX64, jvm, macosX64) operator fun div(scalar: Int): LongMonths
operator fun div(scalar: Long): LongMonths

Divide by a scalar value.

Exceptions

ArithmeticException - if overflow occurs or the scalar is zero