first commit

This commit is contained in:
markgerrard
2026-03-17 20:44:57 +00:00
commit e9354a7920
49 changed files with 1529 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import gleam/float
import gleam/int
// TODO: import the `gleam/int` module
// TODO: import the `gleam/float` module
// TODO: import the `gleam/string` module
pub fn pence_to_pounds(pence: Int) -> Float {
int.to_float(pence) /. 100.0
}
pub fn pounds_to_string(pounds: Float) {
"£" <> float.to_string(pounds)
}