프로그래머스/Lv.0
[프로그래머스 C#] 정수 부분
suniverse
2023. 8. 6. 17:36
using System;
public class Solution {
public int solution(double flo) {
int answer = 0;
answer = (int)Math.Truncate(flo);
return answer;
}
}