Return to Snippet

Revision: 7879
at August 19, 2008 06:40 by marouanomezzine


Updated Code
def convert_pixels_to_cms(pixels, dpi)
    return (pixels / dpi) * 2.54
end

Revision: 7878
at August 19, 2008 06:39 by marouanomezzine


Updated Code
def convert_pixels_to_cms(pixels, dpi)
    return (pixels / dpi) * 2.54
  end

Revision: 7877
at August 19, 2008 06:37 by marouanomezzine


Initial Code
def convert_pixels_to_cms(pixels, dpi)
return (pixels / dpi) * 2.54
end

Initial URL

                                

Initial Description

                                

Initial Title
Covert Pixels to Centimeters

Initial Tags
ruby

Initial Language
Ruby