Skip to content

[CONTRACT] Create format_price_string #124

@Sadeequ

Description

@Sadeequ

Desc: A function that takes a price i128 and decimals: u32 and returns a String with a decimal point (e.g., input 75050, 2 -> output "750.50").

Goal: Tests their Rust string formatting skills (which is surprisingly tricky in WASM/Soroban).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave program

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions