Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
po:lab5 [2019/01/24 14:36] pszwed [Symboliczne obliczanie pochodnych] |
po:lab5 [2019/11/05 11:22] pszwed [Implementujemy klasy] |
||
---|---|---|---|
Line 97: | Line 97: | ||
@Override | @Override | ||
+ | public String toString() { | ||
String sgn=sign< | String sgn=sign< | ||
// return sgn+Double.toString(value); | // return sgn+Double.toString(value); | ||
DecimalFormat format = new DecimalFormat(" | DecimalFormat format = new DecimalFormat(" | ||
return sgn+format.format(value); | return sgn+format.format(value); | ||
+ | } | ||
} | } | ||