From a089a26387dd417c70d4ad9e2941f4ba82a09669 Mon Sep 17 00:00:00 2001 From: senator Date: Wed, 2 Sep 2009 07:55:34 +0000 Subject: =?UTF-8?q?Keratometri=20=E6ndret=20til=20180=20selvom=20specs=20s?= =?UTF-8?q?iger=20179.=20Toke=20siger=20det=20skal=20v=E6re=20180?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/xml/macros/keratometri-1.0.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'server') diff --git a/server/xml/macros/keratometri-1.0.xml b/server/xml/macros/keratometri-1.0.xml index c029316..a2a5dc6 100644 --- a/server/xml/macros/keratometri-1.0.xml +++ b/server/xml/macros/keratometri-1.0.xml @@ -21,11 +21,11 @@ rr2 = tonmb(getValue('keratometri.right.r2')) rx1 = tonmb(getValue('keratometri.right.x1')) - if ( rx1 > 0 and rx1 < 90 ) then + if ( rx1 >= 0 and rx1 < 90 ) then rx2 = rx1 + 90 end - if ( rx1 >= 90 and rx1 < 180 ) then + if ( rx1 >= 90 and rx1 <= 180 ) then rx2 = rx1 - 90 end @@ -60,11 +60,11 @@ lr2 = tonmb(getValue('keratometri.left.r2')) lx1 = tonmb(getValue('keratometri.left.x1')) - if ( lx1 > 0 and lx1 < 90 ) then + if ( lx1 >= 0 and lx1 < 90 ) then lx2 = lx1 + 90 end - if ( lx1 >= 90 and lx1 < 180 ) then + if ( lx1 >= 90 and lx1 <= 180 ) then lx2 = lx1 - 90 end @@ -152,14 +152,14 @@ return false end -