PrevUpHomeNext

.fpp method


Life is about creating yourself.

.fpp member function of esv::class_type

esv::class_type::fpp

Method .fpp of esv::class_type is used to get the fixed-point part of a value after floor value.

If a value is negative, its fpp is negative too.

c++ example

#include <esvcpp/core.hpp>

int main()
{
	esv::fx64 a = 134.221;
	esv::fx64 b = a.fpp();
	esv::print(b);	// 0.221
}

See Also

.floor_fpp method

.floor_method

esv::fx64

esv::print


PrevUpHomeNext

esv::print