Hi John!!
In my case, generally I double the amount. It´s important to know if you sell the code and the rights of the code.
I mean, you give the code and in some months you see your app in diferent places. Even thinking in a customer-fit program, what are the chance to be reselled?
I have a program that originally was designed for a company, but after I finish it, I received a few calls asking for the app for other bussines of the same kind.
Hope this help.
By two common phrases in his vocabulary, we know Hercule Poirot was a great Developer: his use of "the little grey cells" and "order and method".