PrevUpHomeNext

.quo method


.quo member function of utx::class_type

utx::class_type::quo

Method .quo of utx::class_type is used to get the quotient of a value when calculating modulus value. It does not equal to division result.

Positive/Negative flag rules, a % b :

c++ example

#include <utxcpp/core.hpp>

int main()
{
	utx::fx32 a = 33.3;
	utx::print(a.quo(12);	// 3.0
}

See Also

.quo_mod method

.mod method

utx::fx32

utx::print


PrevUpHomeNext

utx::print

esv::print