Change decimal point into a comma for Eropean Price Points

Hi There,

I actually have two questions:


1. Can you combine 2 cells of text from a table? For example:

Cell 1 contains: €
Cell 2 contains: 0,25

The readout combines the two and writes: € 0,25


2. Does anyone know a way the change the decimal point into a comma for a notation like: € 0,25.
I am using tables to save these values, but there I only get 0.25, instead of the 0,25.


Kind regards,

Hidde.

Comments

  • SocksSocks London, UK.Member Posts: 12,822
    edited January 2014
    Not at my computer, but something like this should do it:

    "€"..cell1..","..floor(cell2*10)
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    #1, to concatenate in gamesalad you use ".." without the quotes. So you could read your two cell values into attributes and then concatenate them together like this:

    display text --> attribute1..attribute2 (this would need to be added using the expression editor)
  • slowcutslowcut Member, PRO Posts: 164
    @hiddevandijk you have to put this into the expression editor inside the text behavior:

    tableCellvalue(yourtable."yourrow"."Cell1").."0,"..tableCellvalue(yourtable."yourrow"."Cell2")*100

    be sure to replace the "yourtable" and "your row" with the actual names of your table and the row
Sign In or Register to comment.