Does anyone know a way I can round values using set based operations like insert_recordset or update_recordset?
I have decimal values stored in one table. I need to pull them into another table either as integers or rounded to the whole dollar. If I assign the decimal value to the int field in an insert_recordset, I get compiler warnings that the assignment causes loss of precision. As far as I can tell, insert_recordset and update_recordset do not support method calls so that I can properly round these decimal values to integers. Is there any set based way to deal with this problem? I'd love to avoid looping through every record because I have a ton of records to process and row by row is going to be very slow.
Any suggestion would be greatly appreciated!
*This post is locked for comments
I have the same question (0)