Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Citibank's Secret Code

Citibank's Secret Code

Scheduled Pinned Locked Moved The Lounge
sales
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gordon Kushner
    wrote on last edited by
    #1

    Whenever I'm on the phone with Citibank complaining that they jacked the rate up again, they tell me that the computer automatically does it. To the customer service rep., the computer does what it wants. But I found this code snippet on a 5 inch floppy in a dumpster behind Citibank. Very enlightening.

    const decimal PREFERRED_RATE = .2999; //.1299;
    const decimal STANDARD_RATE = .2999; //.1699;
    const decimal POUND_CUSTOMER_IN_TUSH_RATE = .2999 //.2199;

    private void processPayment(Customer cust, Payment payment)
    {

    if(cust.paymentDate >= payment.dueDate.AddSeconds(30))
    {
    //if(cust.noOfLatePayments > 3)
    //{
    //if(cust.rate == PREFERRED_RATE)
    //{
    // cust.setNewRate(STANDARD_RATE);
    //}
    //else
    //{
    cust.setNewRate(POUND_CUSTOMER_IN_TUSH_RATE);
    //}
    //}
    }
    }

    P K 2 Replies Last reply
    0
    • G Gordon Kushner

      Whenever I'm on the phone with Citibank complaining that they jacked the rate up again, they tell me that the computer automatically does it. To the customer service rep., the computer does what it wants. But I found this code snippet on a 5 inch floppy in a dumpster behind Citibank. Very enlightening.

      const decimal PREFERRED_RATE = .2999; //.1299;
      const decimal STANDARD_RATE = .2999; //.1699;
      const decimal POUND_CUSTOMER_IN_TUSH_RATE = .2999 //.2199;

      private void processPayment(Customer cust, Payment payment)
      {

      if(cust.paymentDate >= payment.dueDate.AddSeconds(30))
      {
      //if(cust.noOfLatePayments > 3)
      //{
      //if(cust.rate == PREFERRED_RATE)
      //{
      // cust.setNewRate(STANDARD_RATE);
      //}
      //else
      //{
      cust.setNewRate(POUND_CUSTOMER_IN_TUSH_RATE);
      //}
      //}
      }
      }

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #2

      gkushner wrote:

      a 5 inch floppy

      That doesn't sound right... surely they would round up to a 6 inch floppy, not down. :cool:

      1 Reply Last reply
      0
      • G Gordon Kushner

        Whenever I'm on the phone with Citibank complaining that they jacked the rate up again, they tell me that the computer automatically does it. To the customer service rep., the computer does what it wants. But I found this code snippet on a 5 inch floppy in a dumpster behind Citibank. Very enlightening.

        const decimal PREFERRED_RATE = .2999; //.1299;
        const decimal STANDARD_RATE = .2999; //.1699;
        const decimal POUND_CUSTOMER_IN_TUSH_RATE = .2999 //.2199;

        private void processPayment(Customer cust, Payment payment)
        {

        if(cust.paymentDate >= payment.dueDate.AddSeconds(30))
        {
        //if(cust.noOfLatePayments > 3)
        //{
        //if(cust.rate == PREFERRED_RATE)
        //{
        // cust.setNewRate(STANDARD_RATE);
        //}
        //else
        //{
        cust.setNewRate(POUND_CUSTOMER_IN_TUSH_RATE);
        //}
        //}
        }
        }

        K Offline
        K Offline
        kevinnicol
        wrote on last edited by
        #3

        gkushner wrote:

        >= payment.dueDate.AddSeconds(30))

        I'm amazed that they allowed you to be an entire 30 seconds late. I would have thought it'd be in the miliseconds range.

        P 1 Reply Last reply
        0
        • K kevinnicol

          gkushner wrote:

          >= payment.dueDate.AddSeconds(30))

          I'm amazed that they allowed you to be an entire 30 seconds late. I would have thought it'd be in the miliseconds range.

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          They ensure that the mail room is closed during those thirty seconds.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups