| 1 | initial version |
As it is currently implemented, I don't believe slider has such an option to change the format of the displayed value. It would be a pretty easy project for a beginner to add this functionality to Sage. I could imagine changing the code in interact.py so that the display_value option could be passed a format like "%.1f" to indicate to display 1 decimal point.
I think that would be a valuable contribution, I would certainly use it in my interact demos.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.