you can use the Math Forumla node for something like this. But it does not have the RANK function, So, you would first need to create the value inside the Rank function with the Math formula node, than you can use the rank node, and this will already output a integer, so the roundup would not be needed.