We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We should be able to mix/match decimal and float numbers in the order table argument.
Some examples:
SortByColumns( [{A:1}, {A:3}, {A:2}], A, [3,2,1] )
SortByColumns( [{A:Float(1)}, {A:Float(3)}, {A:Float(2)}], A, [3,2,1] )
SortByColumns( [{A:Float(1)}, {A:Float(3)}, {A:Float(2)}], "A", [3,2,1] )
SortByColumns( [{A:Float(1)}, {A:Float(3)}, {A:Float(2)}], If(true,"A"), [3,2,1] )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We should be able to mix/match decimal and float numbers in the order table argument.
Some examples:
SortByColumns( [{A:1}, {A:3}, {A:2}], A, [3,2,1] )
- simple case, it works fineSortByColumns( [{A:Float(1)}, {A:Float(3)}, {A:Float(2)}], A, [3,2,1] )
- mixing decimal / floats: doesn't work (compile-time error)SortByColumns( [{A:Float(1)}, {A:Float(3)}, {A:Float(2)}], "A", [3,2,1] )
- same as above, with column name as a literal stringSortByColumns( [{A:Float(1)}, {A:Float(3)}, {A:Float(2)}], If(true,"A"), [3,2,1] )
- it compiles, but we get an incorrect resultThe text was updated successfully, but these errors were encountered: