Toggle navigation
Home
News
User guide
Themes
Extensions
Showcase
Login
Register
Login
Username:
Password:
Lost Password?
Remember me?
ZenphotoCMS Forum
Support
General support
How to round aperture value
Member
Member
binoyte
2012-08-16, 15:54
#1
Hi !
I'm using the printImageMetadata() function to display exif.
This works fine but sometimes the aperture value is display with an useless accuracy, for instance f/1,3999999761581 instead of f/1.4
How can I round these values ?
Administrator
Administrator
acrylian
2012-08-16, 17:05
#2
Make a custom function.
Member
Member
binoyte
2012-08-16, 17:20
#3
Al-right I will do that but this could be an improvement for next release.
FxIF, a firefox extension that allows you to view exif informations, displays properly the aperture value for the same image.
Administrator
Administrator
acrylian
2012-08-16, 17:25
#4
WEll, Zenphoto displays the value as it is recorded. WHich is what most people expect. Anyway, feel free to open a ticket about so we might look into this some time.
Member
Member
sbillard
2012-08-16, 20:41
#5
line 414 of exif.php is where this value is generated. You can add a `round()` function call to the code.
Search Thread
Next Oldest
Next Newest
Contact Us
Legal
Terms Of Service
Privacy
RSS Syndication
Return to Top
Powered By
MyBB
, © 2002-2026
MyBB Group
.
Made with
by
Curves UI
.