x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Round a float with really high numbers

Hello everyone, I've a little problem with math today! The round (or floor) nodes return me an integer pin. Unfortunately I'm working with numbers bigger than a billion and I can't find a way to remove the decimals without get the value clamped at the integer's maximum value. I could solve it creating a specific function but I think there's a node, somewhere in the engine that I have to find :P

Product Version: UE 4.8
Tags:
more ▼

asked Aug 31 '15 at 01:40 PM in Blueprint Scripting

avatar image

Iohoilpotere
696 23 13 28

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Solved with this custom function. It should work. Debug was fine and give me exact results (as I like!).

alt text

more ▼

answered Sep 01 '15 at 08:16 AM

avatar image

Iohoilpotere
696 23 13 28

avatar image MaxSMoke777 Dec 23 '15 at 04:30 AM

Genius! Currency, would have never thought of looking for that! Btw, if you want to get rid of the $, use a Right Chop by 1.

avatar image Heavenly Crusaders Interactive Feb 27 '17 at 06:25 AM

actually using $ in the currency code is eliminating $ sign... strange, try for yourself

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

The node you are looking for I think is CEIL

more ▼

answered Aug 31 '15 at 04:31 PM

avatar image

DJMidKnight
1.2k 50 24 51

avatar image Iohoilpotere Sep 01 '15 at 08:06 AM

Nope, also Ceil return an integer pin that don't solve my problem.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question