Programming and Scripting > Java
Simple JavaFX Calculator
(1/1)
makhan:
// Possible enhancements you can do:
// Check for zero before division.
// Additional operations: mod, square root, sign change, ...
// Make this work with doubles, BigInteger, or ...
// Format double results with DecimalFormat
// Add keyboard listener.
// Change to RPN (Reverse Polish Notation)
// How would you communicate an error to the caller? Ans: Exceptions.
// about the change (except perhaps to add a "." for floating-point input).
Handsome Jack:
Are you looking for input or some type of help with you code? I would be glad to help but I don't understand what you want by your post.
Navigation
[0] Message Index
Go to full version