- Timestamp:
- Dec 7, 2006, 4:34:00 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/gauge.tcl
r550 r551 233 233 set convMinVal [Rappture::Units::convert \ 234 234 $itk_option(-minvalue) -to $nvUnits] 235 } else { 236 # fix for the case when the user tries to 237 # compare values like minv=-500 nv=-0600 238 set nv [format "%f" $nv] 239 set minv [format "%f" $minv] 235 240 } 236 241 if {$nv < $minv} { … … 246 251 set convMaxVal [Rappture::Units::convert \ 247 252 $itk_option(-maxvalue) -to $nvUnits] 253 } else { 254 # fix for the case when the user tries to 255 # compare values like maxv=500 nv=0600 256 set nv [format "%f" $nv] 257 set minv [format "%f" $minv] 248 258 } 249 259 if {$nv > $maxv} {
Note: See TracChangeset
for help on using the changeset viewer.