Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Sigh, part II

Sign in to follow this  


I got a spec today that requires me to:

store a numeric dollar value inside of a datetime type

Yes. You read that right.

I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a spec.
Sign in to follow this  


Recommended Comments

the table it goes into has 528 columns.

All of the numeric columns have been taken up already, and we didn't want to add yet another column. So this is their solution.


Share this comment

Link to comment
Hehe, simple enough to do though. Assuming you're using a decimal type, you would just take the address (mmm, unsafe code), dereference it into a long, and stick it into a DateTime (ignoring the fact that decimal types are 128bit) [grin]

Share this comment

Link to comment

Not only that, but the schedule requires your code to be complete and debugged by $1.85

That was a real LOL... I had to share with the co-workers. =D

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!