Cleanup combining code, flatten modules
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ fdiv :: Int -> Int -> String -> String
|
||||
fdiv x y s = removeDot (take 3 (show ((fromIntegral x / fromIntegral y)::Float))) ++ s
|
||||
|
||||
removeDot :: String -> String
|
||||
removeDot (a:b:'.':[]) = a:b:[]
|
||||
removeDot [a,b,'.'] = [a,b]
|
||||
removeDot xs = xs
|
||||
|
||||
k,m,g,t,p :: Int
|
||||
|
||||
Reference in New Issue
Block a user