Alpha Video Training
Results 1 to 3 of 3

Thread: Percent

  1. #1
    Member
    Real Name
    John Mucci
    Join Date
    Nov 2010
    Location
    New York
    Posts
    311

    Default Percent

    Hello,

    Trying to put a number into percent form. I used the format, however, it just adds the % at the end 0.430098499%
    Should be 43%. Any help?

    Thanks,
    John

  2. #2
    "Certified" Alphaholic
    Real Name
    Mike Christensen
    Join Date
    Nov 2005
    Location
    Michigan U.P.
    Posts
    5,937

    Default Re: Percent

    dependent upon what your data is, I would just use a calculated field if this is for simply a display purpose....if your data is actually 0.430098499 (and numeric) then I would use something like
    str(round(your_field, 2) * 100) + "%"
    Mike
    __________________________________________
    It is only when we forget all our learning that we begin to know.
    It's not what you look at that matters, it's what you see.
    Henry David Thoreau
    __________________________________________




  3. #3
    Member
    Real Name
    John Mucci
    Join Date
    Nov 2010
    Location
    New York
    Posts
    311

    Default Re: Percent

    Perfect Mike, thanks that did the trick.

    John

Similar Threads

  1. Percent Format?
    By Lawrence Fox in forum Alpha Five Version 6
    Replies: 1
    Last Post: 12-15-2005, 11:22 PM
  2. percent field format
    By bruce in forum Alpha Five Version 5
    Replies: 0
    Last Post: 12-04-2003, 09:00 PM
  3. statusbar.percent(i, count)
    By William Perry in forum Alpha Five Version 5
    Replies: 2
    Last Post: 01-14-2003, 12:35 PM
  4. statusbar.percent()
    By Jeff Moses in forum Alpha Five Version 4
    Replies: 7
    Last Post: 04-04-2001, 09:23 AM
  5. Percent of Counts in Reports
    By Chris.Tanti in forum Alpha Five Version 4
    Replies: 14
    Last Post: 06-15-2000, 11:23 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •