In a pixel shader i have a float and i either need to round it to an int, or get it's MOD..

Thanks.