Trending November 2023 # Ocz Octane Ssd Reviews Round # Suggested December 2023 # Top 12 Popular

You are reading the article Ocz Octane Ssd Reviews Round updated in November 2023 on the website We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. Suggested December 2023 Ocz Octane Ssd Reviews Round

OCZ Octane SSD reviews round-up

This week we’re seeing the fabulously powerful and relatively inexpensive OCZ Octane 1TB 2.5-inch SSD hit the review block, and what we’re seeing here is that the manufacturers have backed up their claims in more ways than one. Price per gigabyte on this device is lower than the competition while the strength its displaying in this first round of hands-on looks is showing it to be more than a contender in the benchmark department. Could this be your next solid state drive, dare we ask?

While the OSZ Octane has been promised to achieve read / write speeds of 560MB/s for reading and 400MB/s for writing, it appears that reviewers have found this to be not all that far off from the truth. Have a peek at the specifications in this new OCZ offering first, then see what the real deal is.

OCZ Octane Specs

128GB (OCT1-25SAT3-128G) $199.99 ($1.56/GB)

256GB (OCT1-25SAT3-256G) $369.99 ($1.45/GB)

512GB (OCT1-25SAT3-512G) $879.99 ($1.72/GB)

1TB (OCT1-25SAT3-1TG)

• 512GB Formatted Capacity: 476.94GB

• Indilinx Everest platform

• Up to 560MB/s Read (1TB Capacity)

• Up to 400MB/s Write (512GB and 1TB Capacity)

• 512MB Onboard Cache

• 25nm Intel Synchronous NAND

• TRIM Support

• SATA 6Gb/s interface

• NCQ Support up to 32 Queue Depth

• 9.5mm, 2.5″ form factor

• Dynamic & Static Wear-Leveling, and Background Garbage Collection

• 8 channels with up to 16-way Interleaving

• Power Consumption: 1.98W active, 1.15W standby

“The Octane comes packaged like many other SSD’s out there, with a few extra presents like the “My SSD is faster than your HDD” sticker seen with Vertex units. … 1TB – in a 2.5″ form factor SSD! HDD’s hit this mark not too long ago, and while a 1TB Octane will most certainly cost a pretty penny, there’s something to be said for SSD’s so rapidly catching up to HDD’s for a given form factor. … Octane did well in sequential transfers with HDTach, but remember this particular test hits drives with a string of sequential (QD=1) IO, a notorious weakness of SandForce controllers.” – Malventano

Next see what Kevin OBrien of Storage Review had to say on another synthetic benchmark test by the name of Iometer, with the single chart showing off a Workstation 4K model profile, with results below:

“Our last section of synthetic benchmarks looks at the performance of each drive in enterprise profiles, including database, webserver, file server, and workstation. One of the main benefits of this test over other synthetic benchmarks is the mixed workload with both read and write transfers as well as varied transfer sizes at the same time. These are also scaled from a queue depth of 1 to 128 to fully stress the drive in a demanding environment. As you can see below the OCZ Octane stayed close to the group in the lower queue depths, but couldn’t scale up as high under a multi-threaded workload; although it did manage to stay above the Crucial m4 in all but the webserver test.” – OBrien

Then of course no review series based mainly in benchmarks would be complete without a visit by Anandtech’s Anand Lal Shimpi himself. Check out Anand’s review for a rather in-depth and interesting story on the history of OCZ if you like, otherwise just read this snippet on how well the drive works with their heavy workload test:

“When put to the test the Octane does not disappoint. It’s within a couple MB/s of the SF-2281 based Vertex 3, and effectively one of the fastest 6Gbps drives on the market today. I included the old Indilinx Barefoot based Corsair Nova V128 to show just how far Indilinx has come here.” – Anand

Look like a winner to you?

You're reading Ocz Octane Ssd Reviews Round

Best Portable Hard Drive & Ssd 2023: External Storage Reviews

There are plenty of portable hard disk drives (HDD) as well as much-faster solid-state drives (SSD) to choose from and we’ve reviewed and ranked some of the best ones. We are focussing on SSDs here but hard drives like the WD Black P10 get an honourable mention.

Portable USB drives are powered by the connected computer, so you can use them on the move without the need to plug into the mains or use batteries. Some will even connect your phone or tablet and let you extend storage that way, or allow you to transfer or open files.

Best portable hard drives & SSDs 2023

1. Crucial X6 – Best Overall


Enhanced performance

Highly affordable

Easily transportable


Lacks hardware encryption

No activity light

500GB model slower

Best Prices Today:

SSD, Average Read/Write speed: 836MB/s

It might not be quite as fast as the Adata SE760 but a recent upgrade to the 1- and 2TB models makes the X6 unbeatable in terms of value for money with the 1TB model costing well under £100/$100.

Furthermore, it comes in an ever more portable form factor than its bigger brother, the X8, which is still drop tested to 2m and comes with the same three-year warranty.

As an all-rounder goes, it’s our top pick, even if it lacks things like hardware encryption and an activity light.

Read our full

2. Adata SE760 – Best Value



Great performance

Type-A & Type-C cables


No encryption

Limited to 1TB

Best Prices Today:

SSD, Average Read/Write speed: 934MB/s

Adata has come up with an excellent rival to the Crucial X8 and importantly done so at a cheaper price.

Like the X8 there are no features like a rugged design or encryption but there are alternative options if you need those things.

Instead, the SE760 provides a hassle-free way of carrying around a large amount of speedy storage without breaking the bank. It even comes with Type-C and Type-A USB cables included.

A solid choice if you want between 250GB and 1TB of capacity.

Read our full

3. Kingston XS2000 – Affordable Performance


Reasonably priced

Headline performance

Small and lightweight


Needs USB 3.2 Gen 2×2 for full speed

Limited SLC cache size

No USB Type-A adapter

Best Prices Today:

SSD, Average Read/Write speed: 1986MB/s

If you want the top performance then the XS2000 is aptly named as it offers headline speeds with read peaking at 2092MB/s, though you will need a USB 3.2 Gen 2×2 port to access this level of performance.

That’s around double many rivals if you do and the price here is surprisingly affordable, plus this is a very portable drive.

On the downside, the limited cache means you won’t get sustained performance for larger files and Kingston doesn’t provide a USB adapter to use the XS2000 with older Type-A ports.

Read our full

4. Seagate One Touch (2023) – Best Backup Software


High performance

Up to 2TB

Free Sync Plus software


Short cables

Could be more robust

Best Prices Today:

SSD, Average Read/Write speed: 1,007MB/s

As long as you don’t need hardware encryption then the latest version of the One Touch SSD is an excellent choice.

Plug it into the right USB port and you’ll get double the speed of the previous version, matching many rivals. Capacity goes up to 2TB and Seagate provides useful and free, Sync Plus software to make backing up files easy.

It’s also highly portable and although it’s not as rugged as some alternatives, it’s hardly fragile. The main pain point here is the ridiculously short cables, but that’s not uncommon either.

Read our full

5. CalDigit Tuff nano – Best Speed and Durability Combo


Super fast

Super tough

Super small


Not the cheapest

SSD, Average Read/Write speed: 891MB/s

The CalDigit Tuff nano blew us away with its super-fast speeds, which are twice as fast as comparable portable SSDs. using NVMe technology, the 512GB drive we tested achieved Read and Write speeds close to 1,000MB/s!

It’s also robust, being IP67 certified – meaning that it can be immersed in water and is dust-tight. It can also withstand drops up to 3M.

It is compatible with most computers (it comes with USB-C and USB-A cables), and, being USB-C, can also work with Apple’s iPad Pro.

While it might be a little pricy for the casual user, professionals such as photographers and filmmakers will appreciate its blistering speed and tough travel credentials.

Read our full

6. Crucial X8 – Good Value Performance


Top performance



Short cable

Plain design

Best Prices Today:

SSD, Average Read/Write speed: 1,015MB/s

The Crucial X8 is a great option for those looking for reliable portable SSD.

It’s well-made, compact and offers excellent speeds via USB 3.2 Gen 2 and offers great value for money, too.

There might not be any encryption but for many users, this won’t be an issue. If it is, then there are plenty of other options such as the Samsung T7 Touch and SanDisk Extreme.

Read our full

7. Samsung T7 Touch – Best Encryption


Excellent speeds

Fingerprint scanner



No admin backdoor

Best Prices Today:

SSD, Average Read/Write speed: 929MB/s

Samsung has improved on the popular T5 with a portable SSD that’s both faster and is more secure.

The fingerprint scanner works well but the drive is lacking in a simple way to reset it should you not have the registered finger so just be careful. You’ll also need to be using the right port to get the most out of the T7’s potential speed.

Those are just caveats for an excellent drive which has a lot to like. If you won’t make use of these new features then you may as well grab the cheaper T5.

Read our full

8. SanDisk Extreme Portable SDD V2 – Most Portable


Faster than SATA SSDs





Confusing naming

Best Prices Today:

SSD, Average Read/Write speed: 930MB/s

SanDisk has done a great job of improving its rugged portable SSD with this new model, although the naming is a little too similar with just ‘V2’ at the end which isn’t even on the box.

If you make sure you’re buying this new model, you’ll benefit from double the speed as well as built-in encryption. The Extreme Portable is also one of the lightest drives we’ve ever seen if that’s important and also has an IP55 water and dust rating.

The drive offers both USB-A and USB-C, just note that you’ll need a USB 3.2 Gen 2 port on the device you plug this SSD into to benefit from the fastest speeds.

Read our full

9. WD Black D10 – Best Gaming Storage



Reasonably fast

Military styling


Short USB cable

Can’t run all console titles


Best Prices Today:

HDD, Average Read/Write speed: 625MB/s

If you’re lacking in space for your console or PC games then the WD Black D30 is a decent option to gain a lot of storage in a small and stylish package.

The metal container style shell is really the only gaming element of this drive, but it is highly portable and ready to use out the box. You’ll get decent speeds from the USB 3.2 standard.

As usual, we’d like the cable to be longer. If you need more space than 2TB and can cope with slower speeds, the Black P10 goes to 5TB.

Read our full

10. SanDisk Professional PRO-G40 – Best Performance


Headline performance on Thunderbolt

USB connectable

Ultra-resilient design



Limited capacities

No USB Type-A adapter included

Best Prices Today:

SSD, Average Read/Write speed: 2682MB/s

Those looking for serious speeds in an ultra-rugged casing that will survive the likes of water, drops and more have just found it.

The PRO-G40 gets close to 3000MB/s in read speeds if you use it over Thunderbolt. With USB 3.2 Gen 2 speeds significantly slower, it’s not worth the high cost of this drive compared to rivals.

That’s the main issue here, with seemingly most of the cost going on the casing, while the drive inside only comes in 1- or 2TB sizes at launch. At this price, a longer cable and some kind of carry pouch would be nice. The G40 will be a better buy once it starts getting discounted.

Read our full SanDisk Professional PRO-G40 review

How to choose a portable SSD

Even the smallest portable drives are likely to be 128GB in size, which is enough to space thousands of CD albums in lossless FLAC format, or even more in lower quality MP3 or AAC formats. Off-loading your music collection alone from a computer to a portable drive can be a godsend in freeing valuable space if your laptop has limited storage.

Another popular application of portable storage is for keeping critical backups of your data held on a PC or laptop. You may be able to keep a perfect clone of your entire computer’s internal drive, on standby and ready in the event that the computer is lost or its drive should malfunction.

Alternatively, you may choose just to back up the most important files and documents from your user libraries, such as text documents, photos, films, music and stored email. Some portable drives include software that can help automate this process, keeping your selected directories in sync whenever you plug in the drive or by a daily schedule.


Now that USB 2.0 has been banished from all self-respecting storage, we find USB 3 as the standard for connection, letting these portable drives perform as quickly as the little disks inside will allow.

USB 3 is confusing, as USB 3.0 was retrospectively renamed to USB 3.1 Gen 1. There’s also a newer version, USB 3.1 Gen 2. This doubles the potential throughput from Gen 1’s 5Gb/s to 10Gb/s. In megabytes per second, these equate to 625 and 1,250 respectively. Pretty fast, then.

In reality, most SSDs top out at around 1000MB/s (although you can get faster), and this speed is highly dependent on the device you’re connecting it to so don’t automatically blame the drive if you experience slower speeds. Note that USB-C Gen 2 won’t go any faster when USB 4.0 arrives.

Check out the average speeds in the summaries above, and go to the full review for more detailed benchmark results.


A rugged exterior will be handy if you want the freedom of being able to throw around the unplugged drive with less worry that it will damage the unit, and more importantly, lose your data.

Look out for shock-resistance ratings such as the US military MIL-STD-810F 516.5 (Transit Drop Test). This means that it should withstand being dropped 26 times onto a hard floor, once on to each face, edge and corner, from a height of 1.22m.

Flash storage – more commonly known as SSDs – can survive more brutal treatment, and some portable drives are even water-resistant. If you were to accidentally drop a portable SSD drive in water, then as long as the port covers are firmly closed, it will work fine to use it after it has been fully dried.

Some drives have an IP waterproof rating like phones.


It’s tough to say definitively which manufacturer makes the most reliable hard drives. While there’s a big difference between the technology used in traditional hard drives and SSDs, both have a limited lifespan, and this is why warranties are relatively short – typically two or three years.

What’s important is that you have a well-thought-out backup process and you don’t rely on any single drive to store precious files. Ideally, you should have three copies: one on a PC, phone or tablet, one on a backup drive and one in the cloud.


For many users, a portable storage drive may be an unavoidable commodity, and price will be the deciding factor. 

Often an older drive will be cheaper thanks to a drop in price so you might get a bargain, but make sure you’re not missing out on new tech you’d benefit from.

Professionals will be willing to pay more for the faster and tougher SSDs out there.


The larger the drive, the more you can store – and the more you stand to lose in the event of losing the drive or having it stolen. This is where it pays to lock down that drive.

There are two ways to ensure the data is unreadable by other users. You can scramble the contents through hardware encryption. Or you can use a software application to encrypt either parts or all of the drive.

Moshi Iphone 5S Cases Round Up

As soon as I ordered my iPhone 5s, I began hunting around the internet for new cases. Yes, iPhone 5 cases are completely compatible with iPhone 5s, but I started looking anyway. New iPhone, new case, is my standard. Something fresh was needed. I didn’t know exactly what I was looking for at the time, but something that related to the new 5s in some way.

Moshi came to mind, as they always utilize clean and simple designs. A clip on case is always the most simplistic and I opted for that version. Browsing through the selection, I came across the iGlaze Armour and it is marketed as a slim fit case. The two tone design caught my eye, as it matches the 5s backing. In particular, the gold/silver version caught my attention, because “gold is best.”…

iGlaze Armour

Access to the proper ports and buttons is allowed. A hole is cut precisely for the camera, much preferable to the oversized ports on many competing cases. Additionally, a hole is cut to show the Apple logo, just in case someone mistook your precious for an Android device. The port hole is cut with a mirrored finish edge, just for the extra flash. The only detractor is the brand name “moshi,” which rests at the bottom of the gold plate, but is not really distracting.

The iGlaze armour is offered in sliver, black, and gold, for those with preferences, and comes with a back skin to prevent dust damage, caused by little particles that inevitably work their way into any case. The added skin is a nice touch by Moshi to help keep your investment protected. Pick up a gold version starting at $32.90. Also available in black and silver.

iGlaze Kameleon

The Kameleon, like Armour, is a slim fit polycarbonate shell, offering five-sided protection. Side rails protect the four edges, but do not come past the front screen, eliminating the option to place the iPhone face down. A vegan leather backplate covers the shell, giving a soft brushed feeling to the backside.

All ports and buttons are easily accessible, with the same structure as all iGlaze cases. A simple round cutout provides a port so the Apple logo shows thru and the meticulously designed camera port provides just enough cutaway for the flash and lens.

Kameleons start at $49.95 in black and are also available in white.


Overture combines synthetic fabric with Moshi’s Terahe-dron microfiber lining. Benefits of this combination provide a splash resistant outer surface, which can be cleaned with third party leather cleaners. Interior, microfiber is simply treatable with a damp cloth. Although these specifics are listed on a small insert with the case, I do not plan on needing to scrub away any grime.

All ports and buttons are accessible and the phone can be charged without removal. Unfortunately, the mute switch and volume buttons are only activated by opening the wallet. This prevents the user from simply reaching inside a pocket and flipping to mute. However, the camera port is cut quite precisely. Unlike some competing cases, the iPhone does not need to be removed for photos or videos.

You can pick up a Moshi Overture starting at $45. It is available in back, gray and orange. Check it out in the video below, but notice the folded view is not an option on the iPhone case.

These are some solid options from Moshi. Thanks to my friend at their office for sending them over. What do you guys think about their items?

[iDownloadBlog review disclaimer statement]

A Lecture Heard ’Round The World?

A Lecture Heard ’Round the World? New council to probe how technology might revolutionize BU’s education

What if millions of people around the world with internet access could join BU students and take University classes—online, for free, without getting the academic credit BU students pay to receive?

Such “massive open online courses,” known by the inelegant acronym MOOCs, conceivably could benefit enrolled on-campus students, says Elizabeth Loizeaux, associate provost for undergraduate affairs, “by allowing them to get credit for BU courses that are offered as MOOCs, with implications on overall tuition costs and schedule flexibility.” BU students could take a MOOC during summers or while studying abroad, for example. Studying summers could cut the number of semesters they’d pay for studying on campus. And taking a MOOC while living at home would spare them room and board costs.

MOOCs have supporters and detractors in academia, on both financial and pedagogical grounds. The innovation is just one of many that Loizeaux, a College of Arts & Sciences English professor, will spend this academic year studying with colleagues on President Robert A. Brown’s recently appointed Council on Educational Technology and Innovative Learning. Loizeaux cochairs the council with Azer Bestavros, a CAS professor of computer science and director of BU’s Rafik B. Hariri Institute for Computing and Computational Science & Engineering.

BU already has extensive online offerings. But the council’s two leaders say they’ll probe many other possibilities, including MOOCs, in pursuing the president’s charge to find “innovative ways to improve the quality of education and expand our reach.”

Other innovations the council will explore include linking students studying abroad in different countries online; developing online courses solely for students in other countries; creating classes in which students create some of the material to be studied and discussed; and modifying existing large lecture courses to spend more time in small discussion groups, linked by laptops.

“This is a time of real transformation in higher education, when we are rethinking the models and strategies for education on a global scale,” says Loizeaux. “The ability of technology to expand the variety of ways of learning and teaching, and when and where they happen, can make education more flexible and potentially reduce time to degree completion and improve retention and graduation rates for students.”

Bestavros adds that “educational technology can open up opportunities to those for whom education was not readily available before, and it can expand the options for lifelong learning. Creative thinking begets creative thinking: new educational technologies enable new pedagogical innovations in the residential classroom as well as in the blended and the online environment.”

The council, which is to report to Brown by the end of spring semester, expects to organize workshops, small working groups, and other forums with students and staff, both to gather public input and to recruit community members to assist council members in their task, the two chairs say.

Brown’s goal in forming the committee, he said in his announcement email to students and staff, is to harness computer technology to solve one problem—the runaway costs of traditional higher education, with its professors in classrooms with students—and to leverage its potential “to reach new cohorts of graduate and undergraduate students” and improve on-campus education. He noted BU’s head start in high-tech teaching: 4,400 graduate and professional students enrolled in online courses last year that grossed $37 million for the University.

But he appointed the council, he wrote, to answer several questions, including whether undergraduate education, particularly large lecture classes, could be balanced between online and in-person learning; how those innovations would change the hiring demands for faculty and information technicians; which courses might be optimal to offer “on a global scale in a massively open format”; how to develop quality standards for evaluating existing or proposed online courses; and whether technology permits faster, less expensive degrees.

For guidance, “The council will be looking both within and outside of BU for models of innovative uses of educational technology, not just online courses,” says Bestavros. Media reports and academic studies have offered conflicting evidence of the pros and cons of online learning as compared with the traditional, in-classroom kind, and the two chairs say the council will be cognizant of how to evaluate any innovations it recommends to Brown.

“It’s good to remember,” says Loizeaux, “that blackboard and chalk are technologies, too.”

Explore Related Topics:

Terrier Icemen Take First Round Of Beanpot

Terrier Icemen Take First Round of Beanpot Defeat Crimson 3-1

BU assistant captain Alex Chiasson (CAS’13), rolling over teammate and captain Chris Connolly (MET’12), tries to control the puck during the first period of last night’s men’s Beanpot semifinal game. Photo by Brooks Canaday

BU owned the first two periods, BU owned the crowd, and BU ultimately owned the night.

The number-one-ranked team in the nation lived up to its billing Monday night, as the Boston University Terrier icemen took down the Harvard Crimson in the first round of the 60th annual Beanpot tournament at Boston’s TD Garden.

The game marked the second time the Terriers beat the Crimson this season, improving their overall record to 17-8-1. BU remains in sole possession of first place in Hockey East and will face Boston College next Monday night, as the Terriers go after an unprecedented 30th Beanpot championship.

BU struck first in the game when forward Matt Nieto (CGS’12) beat Harvard goalie Steve Michalek on a wrap-around goal with 8:14 gone in the first period. Assistant captain Alex Chiasson (CAS’13) and defender Sean Escobedo (SMG’13) earned assists on the goal. Nieto has emerged as a significant offensive force for the Terriers. He had an 8-game goal streak earlier in the season and went into the game tied for first on the team with 26 points.

Despite a disappointing season, the Crimson entered last night’s game leading the nation in power play efficiency, converting on 30.8 percent of their chances. The Terriers tested fate when forward Evan Rodrigues (SMG’15) went to the box for boarding at 9:12, but Harvard was unable to score, thanks in large part to an excellent play by Chiasson, who dove to the ice to block a shot as the power play expired.

Harvard gave BU plenty of opportunities to extend its lead in the second half of the period, handing over three power plays. The Terriers first failed to convert when Crimson forward Rence Coassin went to the box at 11:55 for hitting from behind, although Sahir Gill (CGS’12) and Wade Megan (CGS’11, MET’13) made strong bids.

Crimson junior forward Marshall Everson then gave the Terriers more chances by committing two penalties in under three minutes—for interference at 14:19 and then for hitting from behind at 16:25.

Not only did the Terriers fail to convert on either power play, but they nearly allowed Harvard to score its first shorthanded goal of the season. Crimson forward Colin Blackwell had a breakaway opportunity after a turnover in the neutral zone, but standout goalie Kieran Millan (MET’12) made a highlight-reel kick save, keeping Harvard off the scoreboard with just over two left to play in the first.

“We were in the box far too often in the first half of the game,” said Harvard head coach Ted Donato, “and Millan made it awful tough for us to get back into it.”

Terrier head coach Jack Parker (SMG’68, Hon.’97) agreed, noting that neither team played up to its ability. “I don’t think that either team played their best game tonight,” he said. “We acted like we were very frustrated that we weren’t playing better, and we continued to act very frustrated.”

Play by both teams became even sloppier in the second period, as Harvard committed three more penalties and BU four.

Megan earned the game’s first power play goal at 7:30 of the second, beating Michalek with just nine seconds remaining on the Terrier power play. Gill and Escobedo were credited with assists.

Megan was just getting started, though, scoring his 2nd goal of the game and 14th of the season at the 14:02 mark. Line mate Gill assisted again, for his 2nd of the game and 13th on the year.

The Terriers’ three-goal lead proved short-lived, however. Just after defender Ryan Santana (CAS’13) went to the penalty box for cross-checking at 14:48, Chiasson turned the puck over in the Terriers’ zone. That allowed Crimson assistant captain Alex Killorn to put Harvard on the board at 15:27, beating Millan to his right for a 3-1 BU lead. That goal marked the 15th of the year for the Crimson’s leading scorer.

With 16:15 gone, Harvard pulled Michalek in favor of sophomore goaltender Raphael Girard, much to the delight of the predominantly BU-friendly crowd. The Crimson were barraged with taunts of “grade inflation” and “safety school” all night, playing in front of what seemed to be a Terrier home crowd.

After a comparatively uneventful third period, Harvard put plenty of pressure on Millan late in the game. The Terrier goalie, who entered the game with a .923 save percentage, was up to the task, keeping Harvard off the board and cementing BU’s 3-1 victory.

This year is the first time since 2007 that both the BU men’s and women’s ice hockey teams will play in Beanpot championship games. The men beat BC that year, and the women fell to Harvard.

The Boston College Eagles defeated the Northeastern Huskies in last night’s second first round game by a score of 7-1, making BC the team to beat in next Monday’s Beanpot championship.

BU and BC last squared off on December 3, with the Terriers falling 6-1.

Now the other Comm Ave team is all that stands in the way of the Terriers’ 30th Beanpot title in program history.

Ben Carsley can be reached at [email protected].

Explore Related Topics:

How Round Function Works In Lua Wth Examples

Definition of Lua Round

Lua provides us some round functions which is used to round off the numerical values. There is no function named as round rather we have some are options like the floor, ceil from the math library. Round functions help us to get the more accurate number without decimal included, it can move towards positive infinity or negative infinity depends upon the functions we have used to round off the value in Lua. The round function is used to round off the lng decimals numbers to some user-readable form an approx value. These round functions are available inside the lua inbuilt library, we do not require to use any external library for this. In the coming section of the tutorial, we will learn more about the round function in detail to understand and implement this while programming in Lua.

Start Your Free Software Development Course

Web development, programming languages, Software testing & others


1. ceil

math.ceil(your-_variable to be round off)

2. floor

math.floor(your-_variable to be round off)

As you can see in the above lines of syntax we have two options available for round off values in lua. Let’s take an practice example to understand it better see below;


math.ceil(10.6789) math.floor(10.6789)

In the coming section of the tutorial, we will discuss the internal working of round functions available in lua for better usage for beginners.

How Round Function Works in Lua?

As we already know that in Lua we have two options to round off values or numbers in lua without using any external library. Lua provides us Math library support to handle the rounding of values efficiently. We can use any method from the math library, just keep in mind we have to use the ‘math’ keyword to call them and use them. In this section we will see the internal working of round function in Lua see below;

1. Floor

This function is used to round off the value of a big decimal. This function is provided by the math library, which is very easy to use in the program, we do not require writing any import statement to use this, we can directly call the floor function on math. When we use floor function to round off any value it will give us the next number to negative infinity, suppose if you have one number say 0.5 it will give us 0 in this case, that means one number below, Let’s see its usage;

Method Signature:

math. floor(number) : As you can see in the method signature, it takes one parameter inside the function, which represents the value to be round off. It will always return us the number without decimal. Let’s take an simple example :


math.floor(10.4567) 2. Ceil

This function is also used to round off the value to the nearest value possible. This function is also provided by the math library in lua, for this function to use we do not require any import statement while using it in our program. When we use ceil method and pass the variable inside it, it will always give us the next value to positive infinity, which means a number greater. Let’s suppose we have one value which is to be round off, that is ‘0.5’ then in space of ceil it will return us 1 instead of 0 like in case of floor function above.

Method Signature:

math.ceil(number): As you can see in the method signature, it takes one parameter inside the function, which represents the value to be round off. It will always return us the number without decimal. Let’s take a simple example :



Points to be remembered while using round function in lua;

There is no function named as round function in lua, we have to use the math library to achieve it.

We have floor and ceil functions.

One will return us the value toward negative infinity and one will return us the value towards positive infinity.

Examples of Lua Round

In the below example we are doing a comparison among both functions what will they return if we try to pass the same value using different functions in lua. It will showcase the difference among them and now you decide which function to be used.

Example #1

In this example, we are using the floor method to round the values to next whole number. This is an sample example for beginners to start with rounding values in lua using math functions.

print("Demo to round values in lua ") val1 = math.floor(0.5) val2 = math.floor(20.45667) val3 = math.floor(13.6547) val4 = math.floor(0.789) val5 = math.floor(5.872) print("print result here ..") print("first value is ::" , val1) print("second value is ::" , val2) print("third value is ::" , val3) print("fourth value is ::" , val4) print("fifth value is ::" , val5)


Example #2

In this example, we are using ceil method to round the values to the next whole number. This is a sample example for beginners to start with rounding values in lua using math functions.


print("Demo to round values in lua ") val1 = math.ceil(0.5) val2 = math.ceil(20.45667) val3 = math.ceil(13.6547) val4 = math.ceil(0.789) val5 = math.ceil(5.872) print("print result here ..") print("first value is ::" , val1) print("second value is ::" , val2) print("third value is ::" , val3) print("fourth value is ::" , val4) print("fifth value is ::" , val5)



By using the round function, we can remove the decimal part of the numbers, it will return us the next whole number. These functions are very easy to use and implement in the program. By the use of this wean represent the value to the user in readable form and perform a calculation to get the result.

Recommended Articles

We hope that this EDUCBA information on “Lua Round” was beneficial to you. You can view EDUCBA’s recommended articles for more information.

Update the detailed information about Ocz Octane Ssd Reviews Round on the website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!