uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
Subtotals in cart

Knowledge Base Lobby : uShop Support Conference : CGI Script Related Problems
Dec-12-17 03:41 AM EST
Original Message
Subtotals in cart
Author nicholaskay on 10-19-2000 at 12:45 (EST)
I notice that the values in the subtotal don't line up with the values on the individual lines. Is this something I've done wrong, or do I need to request a "fix"???
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: Subtotals in cart Bill Weiner, 2000-10-19 13:53:29 (1)
            Explanation nicholaskay, 2000-10-19 14:05:04 (2)
                 RE: Explanation Bill Weiner, 2000-10-20 06:23:24 (3)
                      OK nicholaskay, 2000-10-22 02:46:39 (4)
                           alignment by decimal point ronharter, 2000-10-23 13:13:49 (5)
                                RE: alignment by decimal point Bill Weiner, 2000-10-23 15:54:47 (6)

Messages In This Discussion
         1. RE: Subtotals in cart
        Author Bill Weiner on 10-19-2000 at 13:53 (EST)
Where are you referring to?
TABLE OF CONTENTS
                 2. Explanation
                Author nicholaskay on 10-19-2000 at 14:05 (EST)
Hi Bill

In the displays generated by uShopCart1 and uShopCart2, the decimal point in the sub-totals doesn't align with the decimal point in the individual lines - or at least it doesn't if (eg) the product lines are 99.99 and the total is 999.99

TABLE OF CONTENTS
                         3. RE: Explanation
                        Author Bill Weiner on 10-20-2000 at 06:23 (EST)
We decided to left align the price fields in those uShopCart applets.... so that the currency symbols line up. (Partly for looks and partly because it made it more easy to handle large prices).
TABLE OF CONTENTS
                                 4. OK
                                Author nicholaskay on 10-22-2000 at 02:46 (EST)
Is this customary for alignment in the States? More widely used in UK is align by DP
TABLE OF CONTENTS
                                         5. alignment by decimal point
                                        Author ronharter on 10-23-2000 at 13:13 (EST)
I cast my two votes for alignment by decimal point. Both of my customers have asked me about this and would prefer it right justified.

Maybe that could happen in the next update?

Thanks
Ron Harter
TABLE OF CONTENTS
                                                 6. RE: alignment by decimal point
                                                Author Bill Weiner on 10-23-2000 at 15:54 (EST)
Picky...picky...picky.... :^)

What didn't look good is when the currency symbols were shifted to the right to make the decimal line up.... It looked much better to keep the currency symbols left aligned with the start of the PRICE column.... just like the other columns (ID, NAME, etc.).

I suppose additional spaces could be calculated/added between the currency symbol and the start of the amount...but combining that additional logic with the logic of first looking throught the list to find the largest actual amount/number of digits needed - it may not be worth it. But we'll see....
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.