[Snippet rust]
```rust
fn valid_range() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
    let percentage = Percentage::<PRECISION_2>::from_string("2.22".to_string());
    assert!(percentage.is_ok());
    if let Ok(percentage) = percentage {
        assert_eq!(percentage.get_percentage(), 2.22)
```
Path: hyperswitch/crates/common_utils/tests/percentage.rs :: valid_range (function, crate=common_utils)

Negatives:
- hyperswitch/crates/hyperswitch_connectors/src/connectors/worldpayxml.rs :: get_content_type
- hyperswitch/crates/hyperswitch_connectors/src/connectors/worldpayxml.rs :: handle_response
- hyperswitch/crates/router/src/services/authentication/detached.rs :: append_option
- hyperswitch/crates/diesel_models/src/query/events.rs :: list_initial_attempts_by_merchant_id_constraints
- hyperswitch/crates/router/src/db/events.rs :: list_initial_events_by_merchant_id_constraints