core / io.islandtime.measures / IntMonths / div
div
(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)
operator fun div(scalar: Int): IntMonths
Divide by a scalar value.
Exceptions
ArithmeticException - if overflow occurs or the scalar is zero
(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)
operator fun div(scalar: Long): LongMonths
Divide by a scalar value.
Exceptions
ArithmeticException - if the scalar is zero