Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

TextSubStr .. and 2 attributes

LocoyoLocoyo Posts: 6Member
edited December 2017 in Working with GS (Online)

Hey guys...

another question and hopefully another quick perfect answer :)

i have 2 attributes and wanna display them as text...

when i use it without TextSubStr like attribute game.a is 7 and attribute game.b is 3
I can display it and the output would be 2,333333333
i wanna limit it to 5 digits

so my idea is

i also tried

but I get invalid expression... is it correct that I can not make any calculation inside the textsubstr ?

any other ideas how to limit it?

thanks and merry xmas


  • pHghostpHghost London, UKPosts: 2,301Member
    edited December 2017

    Umm...not sure textSubStr takes number inputs. What are you trying to achieve with that expression?

    How about just using a Display Text, with:


    That will give you 5 digits past the decimal point.

  • LocoyoLocoyo Posts: 6Member

    there are so many actions I don't know.. thanks it works fine :)

    I just have a simple number / number calculation and depending on the input there comes kind of 0.33333333333 and I just wanted to limit it..
    with price(x,y) it works...

    thaaaaaank you

Sign In or Register to comment.