|
@@ -936,9 +936,10 @@ if (($MSmode == 5) or ($MSmode == 4))
|
|
|
// IE common
|
|
|
else if ($pp == 1)
|
|
|
{
|
|
|
- if ($Kal1_RunFlag = 0) placeTextWithLink($ringsPosY[$pp], $ringsPosX[$pp], sprintf('%.2F V', -$value), 150, 4, $color, $text, $link);
|
|
|
- else placeTextWithLink($ringsPosY[$pp], $ringsPosX[$pp], sprintf('%.0F V', -$value), 150, 4, $color, $text, $link);
|
|
|
- $mace_setting["IECommon"]=-$value;
|
|
|
+ if ($Kal1_RunFlag == 0) $digits = '%.2F V'; else $digits = '%.1F V';
|
|
|
+ placeTextWithLink($ringsPosY[$pp], $ringsPosX[$pp], sprintf($digits, -$value), 150, 4, $color, $text, $link);
|
|
|
+ $mace_setting["IECommon"]=-$value;
|
|
|
+ $digits = '';
|
|
|
}
|
|
|
|
|
|
// IE dipoles
|