回答編集履歴

1

staticをつけた

2017/01/26 04:31

投稿

KSwordOfHaste
KSwordOfHaste

スコア18394

test CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  // Stringとして表現した10進数sの小数点位置をn桁右へ移動する(n<0のときは左に移動)
24
24
 
25
- String slideFloatingPoint(String s, int n) {
25
+ static String slideFloatingPoint(String s, int n) {
26
26
 
27
27
  int fp = s.indexOf('.');
28
28