0

The menu created by this code doesn't show the second label (r1) when it's chosen. How can I fix this?

 r1 = SetAccuracy[9.87654321012345678, 18];
 PopupMenu[Dynamic[x], {1 -> 1, r1 -> r1}]
Behzad
  • 575
  • 2
  • 11

1 Answers1

2

Not sure what you're asking. Just in case:

r1 = SetAccuracy[9.87654321012345678, 18];
{PopupMenu[Dynamic[x], {1 -> 1, r1 -> r1}], Dynamic@x}

Mathematica graphics

Dr. belisarius
  • 115,881
  • 13
  • 203
  • 453
  • It's so strange! It was NOT working when I poster the question! Now it works. In another menu, it sometimes stops working correctly without any reason. I don't know what's wrong. – Behzad Sep 07 '15 at 19:54