You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The CAST operator understands decimal integers only — conversion of hexadecimal integers stops at the "x" in the "0x" prefix of the hexadecimal integer string and thus result of the CAST is always zero.
3673
3681
fncast_text_to_integer(text:&str) -> OwnedValue{
3674
3682
let text = text.trim();
3683
+
3675
3684
ifletOk(i) = text.parse::<i64>(){
3676
3685
returnOwnedValue::Integer(i);
3677
3686
}
3678
3687
// Try to find longest valid prefix that parses as an integer
0 commit comments