Thanks Lifepower
Unfortunately I have since discovered that that whole routine I was converting seems to give incorrect values anyway!
I have found that this:
Seems to give me accurate resultsCode:Result := Round(n / s + 0.4) * s
cheers,
Paul
Thanks Lifepower
Unfortunately I have since discovered that that whole routine I was converting seems to give incorrect values anyway!
I have found that this:
Seems to give me accurate resultsCode:Result := Round(n / s + 0.4) * s
cheers,
Paul
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
Bookmarks