Yeah, that should equal 1 but I think you have an extra bracket. Try this:
{(((ppno/3) - (floor(ppno/3))) * 3)}
{(((ppno/3) - (floor(ppno/3))) * 3)}