i have list of double values.
like this:
0.4997 0.4998 0.4999 0.5 0.5001 0.5002 0.5003 0.5004 1.0
and want print numbers can modulet (%
) 0.5.
but standar modulo operation - value % 0.5
not working. how can this?
i have list of double values.
like this:
0.4997 0.4998 0.4999 0.5 0.5001 0.5002 0.5003 0.5004 1.0
and want print numbers can modulet (%
) 0.5.
but standar modulo operation - value % 0.5
not working. how can this?
Comments
Post a Comment