diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/xml/macros/keratometri-1.0.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/xml/macros/keratometri-1.0.xml b/server/xml/macros/keratometri-1.0.xml index 9c7a611..581dadf 100644 --- a/server/xml/macros/keratometri-1.0.xml +++ b/server/xml/macros/keratometri-1.0.xml @@ -34,10 +34,10 @@ if ( rd1 < rd2 ) then - ry1 = rd1 - rd2 + ry1 = tonumber(string.format('%.02f', rd1 - rd2)) ry2 = rx1 else - ry1 = rd2 - rd1 + ry1 = tonumber(string.format('%.02f', rd2 - rd1)) ry2 = rx2 end @@ -73,10 +73,10 @@ if ( ld1 < ld2 ) then - ly1 = ld1 - ld2 + ly1 = tonumber(string.format('%.02f', ld1 - ld2)) ly2 = lx1 else - ly1 = ld2 - ld1 + ly1 = tonumber(string.format('%.02f', ld2 - ld1)) ly2 = lx2 end |