Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Calculating very large numbers

$
0
0

I'm trying to calculate a very large number using T-SQL but I am not getting the correct result.

The result I'm getting seems to be rounded. I do not want to use the exponential format. 

declare @test float
select @test = 301514736*62028157432
select str(@test,25,0)

Any suggestions? Thank you


Viewing all articles
Browse latest Browse all 23857

Trending Articles