Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Searching for values using scientific notation

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Csimbi
I post too much
Reputation: 97

Joined: 14 Jul 2007
Posts: 3325

PostPosted: Thu Aug 03, 2017 6:53 am    Post subject: Searching for values using scientific notation Reply with quote

Hi guys,
does CE support the scientific notation?

I'm trying to find a double between 4e56 and 6e56.

It tried these notations, but CE does not seems to find anything useful (if won't give an error about the input format either):
4.e56 (windows7 calculator)
4.0e56 (e-notation)
4e+56

I would not want to have to type up 50+zeroes every time Wink

Thanks!

Edit
Nope, entering min
2000000000000000000000000000000000000000000000
and max
20000000000000000000000000000000000000000000000
won't find anything useful, either.
Back to top
View user's profile Send private message
Neminex
How do I cheat?
Reputation: 0

Joined: 13 Nov 2020
Posts: 2

PostPosted: Fri Nov 13, 2020 11:30 am    Post subject: Reply with quote

Hi Csimbi did you find out how to enter a scientific notation value since 2017 xD ?
If you did, then could you help me ?
Thanks ! Wink
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Fri Nov 13, 2020 11:19 pm    Post subject: Reply with quote

maybe by transform the scientific notation to decimal value.

Code:
a = 1e17
b = 6e56
c = 4e+56

print(string.format("%f",a))
print(string.format("%e",a))
print(string.format("%.0f",a))

print(string.format("%f",b))
print(string.format("%e",b))
print(string.format("%.0f",b))


So, with function is :

Code:
function get_real_number(r)
 return string.format("%f", r)
end

print(get_real_number(a))
-- 100000000000000000.000000

print(get_real_number(b))
-- 600000000000000011585558082980146105192257007027776126976.000000

print(get_real_number(c))
-- 400000000000000036761134032573512952336137838862738128896.000000

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Neminex
How do I cheat?
Reputation: 0

Joined: 13 Nov 2020
Posts: 2

PostPosted: Sat Nov 14, 2020 7:29 am    Post subject: Scientific notation Reply with quote

Hi, idon't understand your reply, do you have Discord or anything else to talk easily about this problem of scientific notation ?
Thanks Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites