The first 2 test failures I have are because I don't know how to add a British pound sign in front of the price in pounds_to_string. The other 2 are because I don't know how to write pence_to_pounds. If I try something like pence / 100 or pence /. 100, it just breaks the code even worse. I've just left that function as todo here.
import gleam/float
import gleam/string
pub fn pence_to_pounds(pence: Int) -> Float {
todo
}
pub fn pounds_to_string(pounds: Float) -> String {
float.to_string(pounds)
}```