From 97b253782ab069c764e782a009929386ee2ed1fe Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 30 Apr 2007 16:25:57 +0000 Subject: [PATCH] use a marginally more precise but, more importantly, easier to understand, value for METRIC_CONVERSION_CONSTANT git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/math.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/math.h b/include/wx/math.h index 12443b630c..9d03f185d1 100644 --- a/include/wx/math.h +++ b/include/wx/math.h @@ -22,9 +22,9 @@ #define M_PI 3.1415926535897932384626433832795 #endif -/* Scaling factors for various unit conversions */ +/* Scaling factors for various unit conversions: 1 inch = 2.54 cm */ #ifndef METRIC_CONVERSION_CONSTANT - #define METRIC_CONVERSION_CONSTANT 0.0393700787 + #define METRIC_CONVERSION_CONSTANT (1./254) #endif #ifndef mm2inches -- 2.45.2