Skip to content

why i hate the dot #14963

@p0W3RH311

Description

@p0W3RH311

hi guys !!

PS> 1.000.000.000
PS> # NOT RETURN ANYTHGING

PS> perl6 -e 'say 1_000_000_000'
1000000000


PS> @'
>> fn main() {
>>  let s = 1_000_000_000;
>>  println!("{}",s);
>> }
>> '@ > ./num.rs

PS> rustc .\num.rs

PS> ./num.exe
1000000000

in this example i compared between rust, raku and PS....like you see rust and raku use "_" underscore to separate betwwen number and its much clean...but in PS with "." dot it not return anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugIssue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-AnsweredThe question is answered.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions