1
0
Fork 0

Comment added.

main
s.eser 2024-01-09 14:16:10 +01:00
parent 8096c13555
commit 098299b45e
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,7 @@
,,=STABW(A1.B10),,,,,,,
,=SUMME(A1.A3),=MIN(A1.B10),,,,,,,
,,=MAX(A1.B10),,,,,,,
,,,,,,,,,
,,,,,,,,,
=15+2,,,,,,,,,
=A1+4,,=MITTELWERT(A1.A10),,,,,,,
,,,,,,,,,
,=32,,,,,,,,

1 =4322 =SUMME(A1.B10)
4 =STABW(A1.B10)
5 =SUMME(A1.A3) =MIN(A1.B10)
6 =MAX(A1.B10)
7 =15+2
8 =A1+4 =MITTELWERT(A1.A10)
9
10 =32

View File

@ -243,6 +243,8 @@ public class Spreadsheet {
cells[row][col].setValue("");
}
//If comma number available show max 2 digits after decimal point
if(!cells[row][col].getFormula().isEmpty())
if(String.format("%.2f",result).substring(String.format("%.2f",result).length()-2).charAt(0)=='0'&&
String.format("%.2f",result).substring(String.format("%.2f",result).length()-2).charAt(1)=='0')