pub fn my_atoi(s: String) -> i32
字符串转换为 32 位整型数
s
use leetcode_rust::problems_cn::p000_0xx::p000_008::my_atoi; assert!(my_atoi(String::from("-12.5")) == -12);