Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

rust month to quarter

fn month_to_quarter(month: u8) -> u8 {
    (month + 2) / 3
}
 
PREVIOUS NEXT
Tagged: #rust #month #quarter
ADD COMMENT
Topic
Name
6+8 =