Graphics

 View Only
  • 1.  Visual Logic with Comma Separated Numbers

    Posted 06-13-2022 17:17
    We are feeding data into our elections graphics via DataLinq, and that then gets sent to a text object via Visual Logic. We would like to comma deliniate the numbers (e.g., 6182479 becomes 6,182,479) along the way. Is there a method of doing this in Visual Logic? We don't have the ability to edit this at the source xml.

    ------------------------------
    Dan Jensen
    Operations Director
    WREX-TV
    ------------------------------


  • 2.  RE: Visual Logic with Comma Separated Numbers

    Posted 06-14-2022 01:01
    Dan,
    I'm not at my Xpression right now but you SHOULD be able to use the format float block and set up a custom format.

    ------------------------------
    Malcolm Thorpe
    Free Lance Xpression Designer/Carbonite TD
    ------------------------------



  • 3.  RE: Visual Logic with Comma Separated Numbers

    Posted 06-14-2022 03:46
    Hi Dan
    As Malcolm says you use the Format Float block. If you replace the String Value block with your Datalinq block, then the below will do what you need.

    Simon


    ------------------------------
    Simon Latus
    Simon Latus Media Ltd
    United Kingdom
    ------------------------------